diff options
Diffstat (limited to 'scripts/nix-collect-garbage.in')
-rwxr-xr-x | scripts/nix-collect-garbage.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-collect-garbage.in b/scripts/nix-collect-garbage.in index eaa706578117..16a0b09f59cf 100755 --- a/scripts/nix-collect-garbage.in +++ b/scripts/nix-collect-garbage.in @@ -10,7 +10,7 @@ my $invert = 0; foreach my $arg (@ARGV) { if ($arg eq "--keep-successors") { $keepsuccessors = 1; } - if ($arg eq "--invert") { $invert = 1; } + elsif ($arg eq "--invert") { $invert = 1; } else { die "unknown argument `$arg'" }; } |