From 140fe3c7fe405933dbc1a6554f3960adf0290c4f Mon Sep 17 00:00:00 2001 From: Jeff Ahrenholz Date: Thu, 31 Oct 2019 13:11:09 -0700 Subject: [PATCH] remove sudo from init script, since it is already running as root --- scripts/core-daemon.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core-daemon.in b/scripts/core-daemon.in index 263d980d..0a988f0f 100644 --- a/scripts/core-daemon.in +++ b/scripts/core-daemon.in @@ -35,7 +35,7 @@ corestart() { echo "$NAME already started" else echo "starting $NAME" - sudo $CMD 2>&1 >> "$LOG" & + $CMD 2>&1 >> "$LOG" & fi echo $! > "$PIDFILE"