aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-collect-garbage.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-25 10:44:27 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-25 10:44:27 +0000
commit68ae953d8a492061bcda7c4d7bf2f5b9432f791c (patch)
treed5e35a4fe76bf043539d8a49bb00e9e220fa364c /scripts/nix-collect-garbage.in
parent76c971009149f73453ccec66392625f2b67f8785 (diff)
* Clean up calls to system().
Diffstat (limited to 'scripts/nix-collect-garbage.in')
-rw-r--r--scripts/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 81975d2d3..f1ea09b8e 100644
--- a/scripts/nix-collect-garbage.in
+++ b/scripts/nix-collect-garbage.in
@@ -29,7 +29,7 @@ if ($removeOld) {
$name = $profilesDir . "/" . $name;
if (-l $name && (readlink($name) =~ /link/)) {
print STDERR "removing old generations of profile $name\n";
- system "@bindir@/nix-env", "-p", $name, "--delete-generations", "old";
+ system("@bindir@/nix-env", "-p", $name, "--delete-generations", "old");
}
}