diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-01 10:07:37 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-01 10:09:33 +0100 |
commit | eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5 (patch) | |
tree | 6fa353dfa521f92fbdbad87b2d3a28af8083e96b /nixos/modules/installer/tools | |
parent | 8aa347351405f3eb32e4badb0b6fe568844348e5 (diff) | |
download | nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.tar nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.tar.gz nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.tar.bz2 nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.tar.lz nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.tar.xz nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.tar.zst nixlib-eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5.zip |
nixos-rebuild: --use-remote-sudo does not take an argument
Also remove outdated comment about trailing space.
Diffstat (limited to 'nixos/modules/installer/tools')
-rw-r--r-- | nixos/modules/installer/tools/nixos-rebuild.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/installer/tools/nixos-rebuild.sh b/nixos/modules/installer/tools/nixos-rebuild.sh index 61b4af110273..7db323d38e68 100644 --- a/nixos/modules/installer/tools/nixos-rebuild.sh +++ b/nixos/modules/installer/tools/nixos-rebuild.sh @@ -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'" |