about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-29T14·42+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-29T14·42+0000
commit40f32ae00ac60885e7c0d8dcb4522895cba8e550 (patch)
treef0dc0ac695246350789d58e0de05a5e06df0f516
parent884646593488bfacd851bec72b7ac1a4841bf458 (diff)
* Typo: if -> elsif.
-rwxr-xr-xscripts/nix-collect-garbage.in2
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'" };
 }