nix-daemon: Exit successfully when interrupted.

Fixes #2058.
This commit is contained in:
Shea Levy
2018-04-09 08:05:54 -04:00
parent d8b752ff49
commit 346c0ac361
+1 -1
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());
}