From 8896059fe433d652a9b8a3579a563709b232c4b9 Mon Sep 17 00:00:00 2001 From: Charles Pigott Date: Thu, 7 Sep 2017 17:43:33 +0100 Subject: [PATCH] Remove unnecessary (and warning-causing) prototypes --- sanoid | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sanoid b/sanoid index 51caf8a..1a8f51e 100755 --- a/sanoid +++ b/sanoid @@ -70,7 +70,7 @@ exit 0; #################################################################################### #################################################################################### -sub monitor_health() { +sub monitor_health { my ($config, $snaps, $snapsbytype, $snapsbypath) = @_; my %pools; my @messages; @@ -93,13 +93,13 @@ sub monitor_health() { print "$message\n"; exit $errlevel; -} # end monitor_health() +} #################################################################################### #################################################################################### #################################################################################### -sub monitor_snapshots() { +sub monitor_snapshots { # nagios plugin format: exit 0,1,2,3 for OK, WARN, CRITICAL, or ERROR. @@ -172,7 +172,7 @@ sub monitor_snapshots() { print "$msg\n"; exit $errorlevel; -} # end monitor() +} #################################################################################### ####################################################################################