Merge pull request #2061 from shlevy/nix-daemon-interrupt

nix-daemon: Exit successfully when interrupted.
This commit is contained in:
Eelco Dolstra
2018-04-09 14:21:20 +02:00
committed by GitHub
+1 -1
View File
@@ -1035,7 +1035,7 @@ static void daemonLoop(char * * argv)
}, options);
} catch (Interrupted & e) {
throw;
return;
} catch (Error & e) {
printError(format("error processing connection: %1%") % e.msg());
}