diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-04-09T12·21+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09T12·21+0200 |
commit | 3ec1b3da456448ccd9b2530800dd8a45bddb7c88 (patch) | |
tree | d120a56f4640412ab93df755ba22af389833b3e2 /src | |
parent | d8b752ff490346b3c1c478d77f9fe1346a966c77 (diff) | |
parent | 346c0ac3619b8de3d5fc1d76c14d4be9ee20c353 (diff) |
Merge pull request #2061 from shlevy/nix-daemon-interrupt
nix-daemon: Exit successfully when interrupted.
Diffstat (limited to 'src')
-rw-r--r-- | src/nix-daemon/nix-daemon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-daemon/nix-daemon.cc b/src/nix-daemon/nix-daemon.cc index f28a52b73ff9..35603af7082a 100644 --- a/src/nix-daemon/nix-daemon.cc +++ b/src/nix-daemon/nix-daemon.cc @@ -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()); } |