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
commit 3ec1b3da45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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());
}