summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-05 15:22:47 +0200
committerErich Eckner <git@eckner.net>2020-04-05 15:22:47 +0200
commit6c29529113fe71d1eda67f3780024df466fd3303 (patch)
tree90fefde5ab17ab2175c25f96c19e106573fdc968
parent788723c0e4cc8c19e78cbcc762673baaf696b454 (diff)
downloadshutdownasap-6c29529113fe71d1eda67f3780024df466fd3303.tar.xz
shutdownasap.conf: do not call check-if-bareos-backup-is-running via sudo - it's unnecessary
-rwxr-xr-xshutdownasap.conf.in2
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