nixos-rebuild: --use-remote-sudo does not take an argument
Also remove outdated comment about trailing space.
This commit is contained in:
parent
8aa3473514
commit
eaf1fbaef4
@ -91,9 +91,7 @@ while [ "$#" -gt 0 ]; do
|
||||
shift 1
|
||||
;;
|
||||
--use-remote-sudo)
|
||||
# note the trailing space
|
||||
maybeSudo=(sudo --)
|
||||
shift 1
|
||||
;;
|
||||
*)
|
||||
echo "$0: unknown option \`$i'"
|
||||
|
Loading…
Reference in New Issue
Block a user