diff --git a/bootstrap.sh b/bootstrap.sh index 13ace2e..8ac0c6f 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -26,7 +26,7 @@ if [[ $EUID -ne 0 ]]; then fi # run the remote script as root - echo "$ROOTPW" | su -c "$FETCH_CMD" root + echo "$ROOTPW" | su - -c "$FETCH_CMD" root exit $? fi