diff options
Diffstat (limited to 'src/nix-worker')
-rw-r--r-- | src/nix-worker/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-worker/main.cc b/src/nix-worker/main.cc index 5d57dd6b62d4..3642697dcf87 100644 --- a/src/nix-worker/main.cc +++ b/src/nix-worker/main.cc @@ -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"; |