diff options
Diffstat (limited to 'pod/perlipc.pod')
-rw-r--r-- | pod/perlipc.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlipc.pod b/pod/perlipc.pod index bd0db2e1ad..8aa500584c 100644 --- a/pod/perlipc.pod +++ b/pod/perlipc.pod @@ -573,7 +573,7 @@ output doesn't wind up on the user's terminal. open(STDIN, "< /dev/null") || die "can't read /dev/null: $!"; open(STDOUT, "> /dev/null") || die "can't write to /dev/null: $!"; defined(my $pid = fork()) || die "can't fork: $!"; - exit if $pid; # non-zero now means I am the paren + exit if $pid; # non-zero now means I am the parent (setsid() != -1) || die "Can't start a new session: $!" open(STDERR, ">&STDOUT") || die "can't dup stdout: $!"; } |