From 6c29529113fe71d1eda67f3780024df466fd3303 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 5 Apr 2020 15:22:47 +0200 Subject: shutdownasap.conf: do not call check-if-bareos-backup-is-running via sudo - it's unnecessary --- shutdownasap.conf.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shutdownasap.conf.in b/shutdownasap.conf.in index d42892c..184032d 100755 --- a/shutdownasap.conf.in +++ b/shutdownasap.conf.in @@ -34,7 +34,7 @@ beforeWatchHook() { # Note, that it is queried often. additionalWatchHookFast() { if command -v check-if-bareos-backup-is-running; then - if ! sudo check-if-bareos-backup-is-running; then + if ! check-if-bareos-backup-is-running; then return 1 else return 0 -- cgit v1.2.3-70-g09d2