forked from lix-project/lix
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);
|
}, options);
|
||||||
|
|
||||||
} catch (Interrupted & e) {
|
} catch (Interrupted & e) {
|
||||||
throw;
|
return;
|
||||||
} catch (Error & e) {
|
} catch (Error & e) {
|
||||||
printError(format("error processing connection: %1%") % e.msg());
|
printError(format("error processing connection: %1%") % e.msg());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue