diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-30 00:55:54 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-11-30 00:55:54 +0000 |
commit | a8710ca18eb34a984d0dfab8503448f77a53b379 (patch) | |
tree | 18010d3af3d1eb629602e4be665911bcbca76876 /lib | |
parent | 041b774345efbca4380b50a1282029ce2362c5a0 (diff) | |
download | perl-a8710ca18eb34a984d0dfab8503448f77a53b379.tar.gz |
integrate changes#2273,2274,2288,2291 from maint-5.004
p4raw-link: @2291 on //depot/maint-5.004/perl: 36172d59ade32f9612ebd260a0d831031e1a0ef5
p4raw-link: @2288 on //depot/maint-5.004/perl: 5e378d39c1df8bf189b5f95b1ca8535607fe6545
p4raw-link: @2274 on //depot/maint-5.004/perl: 826799b6e704a8976be7d84e25ef2a15f3805c8e
p4raw-link: @2273 on //depot/maint-5.004/perl: 3254abb72b4207034d3aa9fbe6418925a5db9484
p4raw-id: //depot/perl@2406
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Sys/Syslog.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sys/Syslog.pm b/lib/Sys/Syslog.pm index e8faac7126..f0cbb71924 100644 --- a/lib/Sys/Syslog.pm +++ b/lib/Sys/Syslog.pm @@ -124,7 +124,8 @@ sub openlog { $lo_ndelay = $logopt =~ /\bndelay\b/; $lo_cons = $logopt =~ /\bcons\b/; $lo_nowait = $logopt =~ /\bnowait\b/; - &connect if $lo_ndelay; + return 1 unless $lo_ndelay; + &connect; } sub closelog { |