summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm')
-rw-r--r--gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm b/gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm
index d109a9d8a6b..95f89ce4fc7 100644
--- a/gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm
+++ b/gnu/usr.bin/perl/ext/Sys/Syslog/Syslog.pm
@@ -244,9 +244,9 @@ sub syslog {
else {
if (open(CONS,">/dev/console")) {
print CONS "<$facility.$priority>$whoami: $message\r";
- exit if defined $pid; # if fork failed, we're parent
close CONS;
}
+ exit if defined $pid; # if fork failed, we're parent
}
}
}