Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove trailing spaces and make some esthetic cleaning

  • Loading branch information...
commit b6f9a54af7ee8d87811034ff77fbafc2a3b4c964 1 parent 8da25e6
@ldidry ldidry authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 plugins/disk/du-2
View
10 plugins/disk/du-2
@@ -113,7 +113,7 @@ while(defined (my $foo = <FILE>)) {
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;
Please sign in to comment.
Something went wrong with that request. Please try again.