mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
* Right name.
This commit is contained in:
parent
b0d8e05be1
commit
ceb982a1be
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue