* Right name.

This commit is contained in:
Eelco Dolstra 2006-12-01 18:02:05 +00:00
parent b0d8e05be1
commit ceb982a1be

View file

@ -143,6 +143,7 @@ void run(Strings args)
for (Strings::iterator i = args.begin(); i != args.end(); ) {
string arg = *i++;
if (arg == "--slave") slave = true;
if (arg == "--daemon") daemon = true;
}
if (slave) {
@ -156,7 +157,6 @@ void run(Strings args)
else
throw Error("must be run in either --slave or --daemon mode");
}
@ -165,4 +165,4 @@ void printHelp()
}
string programId = "nix-store";
string programId = "nix-worker";