diff options
author | Erich Eckner <git@eckner.net> | 2020-04-05 15:22:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-05 15:22:47 +0200 |
commit | 6c29529113fe71d1eda67f3780024df466fd3303 (patch) | |
tree | 90fefde5ab17ab2175c25f96c19e106573fdc968 | |
parent | 788723c0e4cc8c19e78cbcc762673baaf696b454 (diff) | |
download | shutdownasap-6c29529113fe71d1eda67f3780024df466fd3303.tar.xz |
shutdownasap.conf: do not call check-if-bareos-backup-is-running via sudo - it's unnecessary
-rwxr-xr-x | shutdownasap.conf.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |