diff options
author | Erich Eckner <git@eckner.net> | 2019-05-27 20:21:16 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-05-27 20:21:16 +0200 |
commit | 0ecfbc4cbf7055b00b6f47c844f354536909dd89 (patch) | |
tree | d38ab608ea70e909bec93ca495c485ef764deaa1 /bareos/check-if-bareos-backup-is-running | |
parent | cc122a6abe2a3ec748a1eb9846c1d7dd4635aaff (diff) | |
download | archlinuxewe.git.save-0ecfbc4cbf7055b00b6f47c844f354536909dd89.tar.xz |
bareos: new check-if-bareos-backup-is-running
Diffstat (limited to 'bareos/check-if-bareos-backup-is-running')
-rwxr-xr-x | bareos/check-if-bareos-backup-is-running | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bareos/check-if-bareos-backup-is-running b/bareos/check-if-bareos-backup-is-running index b9a71307..e638869d 100755 --- a/bareos/check-if-bareos-backup-is-running +++ b/bareos/check-if-bareos-backup-is-running @@ -43,6 +43,8 @@ while [ $(date +%s) -le ${time_out} ]; do d ' "/proc/${bareos_pid}/io" \ | grep -qvxF "${was}"; then + >&2 echo 'bareos-fd is reading' exit 1 fi done +>&2 echo 'bareos-fd is not reading' |