* Right name.
This commit is contained in:
parent
b0d8e05be1
commit
ceb982a1be
|
@ -143,6 +143,7 @@ void run(Strings args)
|
||||||
for (Strings::iterator i = args.begin(); i != args.end(); ) {
|
for (Strings::iterator i = args.begin(); i != args.end(); ) {
|
||||||
string arg = *i++;
|
string arg = *i++;
|
||||||
if (arg == "--slave") slave = true;
|
if (arg == "--slave") slave = true;
|
||||||
|
if (arg == "--daemon") daemon = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (slave) {
|
if (slave) {
|
||||||
|
@ -156,7 +157,6 @@ void run(Strings args)
|
||||||
|
|
||||||
else
|
else
|
||||||
throw Error("must be run in either --slave or --daemon mode");
|
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";
|
||||||
|
|
Loading…
Reference in a new issue