From eaf1fbaef4b5c0c0b5e51a8183867efd7d5c99e5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 1 Feb 2020 10:07:37 +0100 Subject: [PATCH] nixos-rebuild: --use-remote-sudo does not take an argument Also remove outdated comment about trailing space. --- nixos/modules/installer/tools/nixos-rebuild.sh | 2 -- 1 file changed, 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'"