aboutsummaryrefslogtreecommitdiff
path: root/rpsl2acl/rpsl2acl
diff options
context:
space:
mode:
Diffstat (limited to 'rpsl2acl/rpsl2acl')
-rwxr-xr-xrpsl2acl/rpsl2acl4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpsl2acl/rpsl2acl b/rpsl2acl/rpsl2acl
index daeec78..b6180b4 100755
--- a/rpsl2acl/rpsl2acl
+++ b/rpsl2acl/rpsl2acl
@@ -51,7 +51,7 @@ sub logit {
}
sub loginit {
- if ($logfile and (!-e $logfile or -w $logfile)) {
+ if ($logfile && (!-e $logfile || -w $logfile)) {
print STDERR "$script: logging to $logfile\n";
open(LOG, ">$logfile");
} else {
@@ -295,7 +295,7 @@ if ($update) {
delete $oldset{$net};
}
}
- unless ($update or keys(%oldset) > 0) {
+ unless ($update || keys(%oldset) > 0) {
debug('GENERAL', 1, "shutdown: list unchanged");
logdone();
exit(1);

Return to:

Send suggestions and report system problems to the System administrator.