Update bootstrap.sh
This commit is contained in:
parent
35bb72fc00
commit
070e651f45
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if [[ $EUID -ne 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# run the remote script as root
|
# run the remote script as root
|
||||||
echo "$ROOTPW" | su -c "$FETCH_CMD" root
|
echo "$ROOTPW" | su - -c "$FETCH_CMD" root
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue