mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Address feedback around printf & exec
This commit is contained in:
parent
6a4037ca05
commit
657b47e1b3
@ -199,7 +199,7 @@ __sudo() {
|
||||
|
||||
echo "I am executing:"
|
||||
echo ""
|
||||
echo " $ sudo $cmd"
|
||||
printf " $ sudo %s\n" "$cmd"
|
||||
echo ""
|
||||
echo "$expl"
|
||||
echo ""
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user