1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00
This commit is contained in:
Antoine Beaupré 2014-01-02 19:30:41 -05:00
parent 6002cb63eb
commit efc20c679a

View file

@ -63,15 +63,13 @@ my $arg = shift();
# Check to see how the script was called
if ($arg eq 'config') {
print_graph_information();
exit();
} elsif ($arg eq 'autoconf') {
if (test_service()) { print "yes\n"; }
else { print "no\n"; }
exit;
} else {
print_graph_data();
exit;
}
exit;
sub print_graph_data() {
# Define the values that are returned to munin