diff --git a/plugins/disk/du-2 b/plugins/disk/du-2 index bdea7bb9..4ea0f68a 100755 --- a/plugins/disk/du-2 +++ b/plugins/disk/du-2 @@ -113,7 +113,7 @@ while(defined (my $foo = )) { if ($foo =~ m/(\d+)\s+(.+)/) { my ($field, $value) = ($2, $1); clean_path(\$field); - print $field, ".value ", $value, "\n"; + print $field, ".value ", $value, "\n"; } } close(FILE); @@ -121,7 +121,7 @@ daemonize(); # ## -### PUBLiC FONCTiONS +### PUBLIC FONCTIONS ############################################################################### ## Used to create the fork sub daemonize { @@ -149,7 +149,7 @@ sub clean_path { } } ## clean_path -## Do you really need I told you what this function is going to check ? +## Do you really need I told you what this functions are going to check ? sub cache_is_too_old { return 1 if (! -e $TIMEFILE); my ($time) = `cat $TIMEFILE`; @@ -162,18 +162,18 @@ sub du_not_running { return 0 if (-e $LOCKFILE); return 1; } + sub munin_exit_done { __munin_exit(0); } ## sub munin_exit_done - sub munin_exit_fail { __munin_exit(1); } ## sub munin_exit_fail # ## -### iNTERNALS FONCTiONS +### INTERNALS FONCTIONS ############################################################################### sub __munin_exit { my $exitcode = shift;