]> git.proxmox.com Git - pve-common.git/commitdiff
trivial: fixup: no double semicolons
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 Jun 2018 10:40:07 +0000 (12:40 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 Jun 2018 10:40:07 +0000 (12:40 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
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();