From 40f32ae00ac60885e7c0d8dcb4522895cba8e550 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Jul 2003 14:42:14 +0000 Subject: [PATCH] * Typo: if -> elsif. --- scripts/nix-collect-garbage.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/nix-collect-garbage.in b/scripts/nix-collect-garbage.in index eaa706578..16a0b09f5 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'" }; }