diff --git a/plugins/relayd/relayd b/plugins/relayd/relayd index 45ac5e6d..d6174128 100755 --- a/plugins/relayd/relayd +++ b/plugins/relayd/relayd @@ -98,7 +98,7 @@ elsif ($cmd eq 'autoconf') { fail("$logfile unreadable)") unless -r $logfile; fail("$configfile unreadable") unless -r $configfile; open(my $status, "relayctl show summary|") or fail("cannot open relayctl pipe: $!"); - () = <$status>; + () = <$status>; # necessary to avoid SIGPIPE to relayctl, which would make it fail close($status) or fail("cannot run relayctl: $!"); print "yes\n"; exit(0);