mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 18:30:57 +01:00
Fix 16f1f8b71d
This commit is contained in:
parent
16f1f8b71d
commit
b81a72cc3e
2 changed files with 3 additions and 3 deletions
|
@ -85,7 +85,7 @@ func (proxy *Proxy) dropPrivilege(userStr string, fds []*os.File) {
|
|||
dlog.Fatal("Unable to reassign descriptor")
|
||||
}
|
||||
}
|
||||
err := syscall.Exec(path, args, os.Environ())
|
||||
err = syscall.Exec(path, args, os.Environ())
|
||||
dlog.Fatalf("Unable to reexecute [%s]: [%s]", path, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@ func (proxy *Proxy) dropPrivilege(userStr string, fds []*os.File) {
|
|||
dlog.Fatal("Unable to reassign descriptor")
|
||||
}
|
||||
}
|
||||
syscall.Exec(path, args, os.Environ())
|
||||
dlog.Fatalf("Unable to reexecute [%s]", path)
|
||||
err = syscall.Exec(path, args, os.Environ())
|
||||
dlog.Fatalf("Unable to reexecute [%s]: [%s]", path, err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue