nixos-rebuild: --use-remote-sudo does not take an argument

Also remove outdated comment about trailing space.
This commit is contained in:
Eelco Dolstra 2020-02-01 10:07:37 +01:00
parent 8aa3473514
commit eaf1fbaef4
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -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'"