Address feedback around printf & exec

This commit is contained in:
Graham Christensen 2017-07-11 20:25:35 -04:00
parent 6a4037ca05
commit 657b47e1b3
No known key found for this signature in database
GPG Key ID: 06121D366FE9435C
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@ __sudo() {
echo "I am executing:"
echo ""
echo " $ sudo $cmd"
printf " $ sudo %s\n" "$cmd"
echo ""
echo "$expl"
echo ""

View File

@ -30,7 +30,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
fi
printf '\e[1;31mSwitching to the Multi-User Darwin Installer\e[0m\n'
"$self/install-darwin-multi-user"
exec "$self/install-darwin-multi-user"
exit 0
fi