From fdec72c6cc720be899431c32f99221e8c4b88cd0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 25 Aug 2004 15:39:13 +0000 Subject: * `nix-collect-garbage' now actually performs a garbage collection, it doesn't just print the set of paths that should be deleted. So there is no more need to pipe the result into `nix-store --delete' (which doesn't even exist anymore). --- src/nix-store/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix-store') diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc index 78599e30869c..7bc8565d293d 100644 --- a/src/nix-store/main.cc +++ b/src/nix-store/main.cc @@ -222,7 +222,7 @@ static void opGC(Strings opFlags, Strings opArgs) if (flag == "--print-live") subOp = soPrintLive; else if (flag == "--print-dead") subOp = soPrintDead; else if (flag == "--delete") subOp = soDelete; - else throw UsageError(format("bad sub-operation `%1% in GC") % flag); + else throw UsageError(format("bad sub-operation `%1%' in GC") % flag); Paths roots; while (1) { -- cgit 1.4.1