mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
discard config file
This commit is contained in:
parent
b1c0367027
commit
468d26f34f
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ elsif ($cmd eq 'autoconf') {
|
||||||
fail("$logfile unreadable)") unless -r $logfile;
|
fail("$logfile unreadable)") unless -r $logfile;
|
||||||
fail("$configfile unreadable") unless -r $configfile;
|
fail("$configfile unreadable") unless -r $configfile;
|
||||||
open(my $status, "relayctl show summary|") or fail("cannot open relayctl pipe: $!");
|
open(my $status, "relayctl show summary|") or fail("cannot open relayctl pipe: $!");
|
||||||
|
() = <$status>;
|
||||||
close($status) or fail("cannot run relayctl: $!");
|
close($status) or fail("cannot run relayctl: $!");
|
||||||
print "yes";
|
print "yes";
|
||||||
exit(0);
|
exit(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue