mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Remove "killing process <pid>" messages
They convey no useful information.
This commit is contained in:
parent
43f158bb08
commit
0ec7f47b00
4 changed files with 6 additions and 11 deletions
|
@ -678,12 +678,11 @@ Pid::operator pid_t()
|
|||
}
|
||||
|
||||
|
||||
int Pid::kill(bool quiet)
|
||||
int Pid::kill()
|
||||
{
|
||||
assert(pid != -1);
|
||||
|
||||
if (!quiet)
|
||||
printError(format("killing process %1%") % pid);
|
||||
debug(format("killing process %1%") % pid);
|
||||
|
||||
/* Send the requested signal to the child. If it has its own
|
||||
process group, send the signal to every process in the child
|
||||
|
|
|
@ -203,7 +203,7 @@ public:
|
|||
~Pid();
|
||||
void operator =(pid_t pid);
|
||||
operator pid_t();
|
||||
int kill(bool quiet = false);
|
||||
int kill();
|
||||
int wait();
|
||||
|
||||
void setSeparatePG(bool separatePG);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue