diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-09T15·38+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-10-09T15·38+0000 |
commit | 08b7319f5bca01f46916faaec0f9de420404a5ad (patch) | |
tree | c42fdb8f8c97326ad94556041fc62ec2c30217de /scripts | |
parent | 6409c215e56cbcd10177edf358f7d0702d687099 (diff) |
* Follow successors by default (use `--no-successors' to override).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/nix-collect-garbage.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/nix-collect-garbage.in b/scripts/nix-collect-garbage.in index 52f2743675cf..9b471d896e60 100755 --- a/scripts/nix-collect-garbage.in +++ b/scripts/nix-collect-garbage.in @@ -8,11 +8,11 @@ my $storedir = "@prefix@/store"; my %alive; -my $keepsuccessors = 0; +my $keepsuccessors = 1; my $invert = 0; foreach my $arg (@ARGV) { - if ($arg eq "--keep-successors") { $keepsuccessors = 1; } + if ($arg eq "--no-successors") { $keepsuccessors = 0; } elsif ($arg eq "--invert") { $invert = 1; } else { die "unknown argument `$arg'" }; } |