mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-29 23:46:22 +00:00
trivial: fixup: no double semicolons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
aea06195b7
commit
4c99c559f3
@ -500,7 +500,7 @@ sub fork_worker {
|
|||||||
if ($sync && -t STDIN) {
|
if ($sync && -t STDIN) {
|
||||||
# some sync'ed workers operate on the tty but setsid sessions lose
|
# some sync'ed workers operate on the tty but setsid sessions lose
|
||||||
# the tty, so just create a new pgroup and give it the tty
|
# the tty, so just create a new pgroup and give it the tty
|
||||||
POSIX::setpgid(0, 0) or die "failed to setpgid: $!\n";;
|
POSIX::setpgid(0, 0) or die "failed to setpgid: $!\n";
|
||||||
POSIX::tcsetpgrp(fileno(STDIN), $$) or die "failed to tcsetpgrp: $!\n";
|
POSIX::tcsetpgrp(fileno(STDIN), $$) or die "failed to tcsetpgrp: $!\n";
|
||||||
} else {
|
} else {
|
||||||
POSIX::setsid();
|
POSIX::setsid();
|
||||||
|
Loading…
Reference in New Issue
Block a user