]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/RESTEnvironment.pm
trivial: fixup: no double semicolons
[pve-common.git] / src / PVE / RESTEnvironment.pm
index 6a53741242349610902093342c2e3b7e04b5d6a6..338a534d4abcec6d4eb1292b04f4d3720dc41636 100644 (file)
@@ -500,7 +500,7 @@ sub fork_worker {
        if ($sync && -t STDIN) {
            # 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
-           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";
        } else {
            POSIX::setsid();