mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
explain why we read data we then discard
This commit is contained in:
parent
20191c2b0c
commit
10f90b04c3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue