From 68ae953d8a492061bcda7c4d7bf2f5b9432f791c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 25 Sep 2006 10:44:27 +0000 Subject: * Clean up calls to system(). --- scripts/nix-collect-garbage.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/nix-collect-garbage.in') diff --git a/scripts/nix-collect-garbage.in b/scripts/nix-collect-garbage.in index 81975d2d3c4d..f1ea09b8ee93 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"); } } -- cgit 1.4.1