1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

discard config file

This commit is contained in:
Antoine Beaupré 2012-03-09 19:25:42 -05:00
parent b1c0367027
commit 468d26f34f

View file

@ -98,6 +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>;
close($status) or fail("cannot run relayctl: $!");
print "yes";
exit(0);