summaryrefslogtreecommitdiffstats
path: root/util/system/shellcommand.cpp
diff options
context:
space:
mode:
authordruxa <[email protected]>2022-02-10 16:49:28 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:28 +0300
commitc03ef37690111076e93822dbfa59fd672fa45c33 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/shellcommand.cpp
parenta6b6f52a89f054724740e5f7a04800b3d64f4367 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/system/shellcommand.cpp')
-rw-r--r--util/system/shellcommand.cpp2
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 */);