Address feedback around printf & exec
This commit is contained in:
parent
6a4037ca05
commit
657b47e1b3
|
@ -199,7 +199,7 @@ __sudo() {
|
||||||
|
|
||||||
echo "I am executing:"
|
echo "I am executing:"
|
||||||
echo ""
|
echo ""
|
||||||
echo " $ sudo $cmd"
|
printf " $ sudo %s\n" "$cmd"
|
||||||
echo ""
|
echo ""
|
||||||
echo "$expl"
|
echo "$expl"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
@ -30,7 +30,7 @@ if [ "$(uname -s)" = "Darwin" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf '\e[1;31mSwitching to the Multi-User Darwin Installer\e[0m\n'
|
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
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue