diff --git a/plugins/mysql/mysql_connections_per_user b/plugins/mysql/mysql_connections_per_user index cc7bfbd0..334fe04f 100755 --- a/plugins/mysql/mysql_connections_per_user +++ b/plugins/mysql/mysql_connections_per_user @@ -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