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
No known key found for this signature in database
GPG key ID: 5C0BD6957D86FE27

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