diff options
author | druxa <[email protected]> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:28 +0300 |
commit | c03ef37690111076e93822dbfa59fd672fa45c33 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/shellcommand.cpp | |
parent | a6b6f52a89f054724740e5f7a04800b3d64f4367 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.cpp')
-rw-r--r-- | util/system/shellcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/shellcommand.cpp b/util/system/shellcommand.cpp index a0b82e8e219..b1989b5c8c3 100644 --- a/util/system/shellcommand.cpp +++ b/util/system/shellcommand.cpp @@ -397,7 +397,7 @@ public: if (!ok && (errno == ESRCH) && DetachSession) { // this could fail when called before child proc completes setsid(). ok = kill(Pid, SIGTERM) == 0; - kill(-Pid, SIGTERM); // between a failed kill(-Pid) and a successful kill(Pid) a grandchild could have been spawned + kill(-Pid, SIGTERM); // between a failed kill(-Pid) and a successful kill(Pid) a grandchild could have been spawned } #else TerminateProcess(Pid, 1 /* exit code */); |