build: bump nix dependency

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
Fabian Grünbichler
2020-10-19 12:12:33 +02:00
parent c7e18ba08a
commit 0c4c6a7b1c
3 changed files with 4 additions and 4 deletions

View File

@ -101,10 +101,10 @@ impl Reloader {
// Start ourselves in the background:
use nix::unistd::{fork, ForkResult};
match fork() {
match unsafe { fork() } {
Ok(ForkResult::Child) => {
// Double fork so systemd can supervise us without nagging...
match fork() {
match unsafe { fork() } {
Ok(ForkResult::Child) => {
std::mem::drop(pold);
// At this point we call pre-exec helpers. We must be certain that if they fail for