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
commita6b6f52a89f054724740e5f7a04800b3d64f4367 (patch)
treefa84234b6b0eb745f922f635a6497d1e7eb9b2e0 /util/system/shellcommand.cpp
parent3d0b4183f2ddf8aebaf3f4ad74517b2eddef26a8 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 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 b1989b5c8c3..a0b82e8e219 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 */);