Merge pull request #2061 from shlevy/nix-daemon-interrupt
nix-daemon: Exit successfully when interrupted.
This commit is contained in:
commit
3ec1b3da45
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue