mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Remove trailing spaces and make some esthetic cleaning
This commit is contained in:
parent
8da25e681b
commit
b6f9a54af7
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue