From c06b33466f7133418b589309fbdd4ef4417532ff Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 27 May 2019 20:18:51 +0200 Subject: check-if-bareos-backup-is-running: add output --- check-if-bareos-backup-is-running | 2 ++ 1 file changed, 2 insertions(+) diff --git a/check-if-bareos-backup-is-running b/check-if-bareos-backup-is-running index b9a7130..e638869 100755 --- a/check-if-bareos-backup-is-running +++ b/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' -- cgit v1.2.3-54-g00ecf