Merge pull request #312 from coreemu/feature/remove-sudo-from-init-script

Feature/remove sudo from init script
This commit is contained in:
bharnden 2019-11-02 15:00:16 -07:00 committed by GitHub
commit bf9b776ad1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ corestart() {
echo "$NAME already started" echo "$NAME already started"
else else
echo "starting $NAME" echo "starting $NAME"
sudo $CMD 2>&1 >> "$LOG" & $CMD 2>&1 >> "$LOG" &
fi fi
echo $! > "$PIDFILE" echo $! > "$PIDFILE"