mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
Merge pull request #2061 from shlevy/nix-daemon-interrupt
nix-daemon: Exit successfully when interrupted.
This commit is contained in:
commit
3ec1b3da45
1 changed files with 1 additions and 1 deletions
|
@ -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