diff --git a/CHANGELIST b/CHANGELIST index 652a54c..c35106b 100644 --- a/CHANGELIST +++ b/CHANGELIST @@ -1,3 +1,5 @@ +1.0.9 added CR/LF after --check-health message output to make CLI usage cleaner looking + 1.0.8 added --version checking in sanoid and syncoid 1.0.7 got rid of unnecessary sudo commands in sanoid's --monitor-health diff --git a/VERSION b/VERSION index b0f3d96..66c4c22 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.8 +1.0.9 diff --git a/sanoid b/sanoid index a2e9dc9..5e2c9e4 100755 --- a/sanoid +++ b/sanoid @@ -4,7 +4,7 @@ # from http://www.gnu.org/licenses/gpl-3.0.html on 2014-11-17. A copy should also be available in this # project's Git repository at https://github.com/jimsalterjrs/sanoid/blob/master/LICENSE. -my $version = '1.0.8'; +my $version = '1.0.9'; use strict; use Config::IniFiles; # read samba-style conf file @@ -75,7 +75,7 @@ sub monitor_health() { my @warninglevels = ('','*** WARNING *** ','*** CRITICAL *** '); my $message = $warninglevels[$errlevel] . join (', ',@messages); - print $message; + print "$message\n"; exit $errlevel; } # end monitor_health()