plugins/check_amanda-client
changeset 61 c037c0bdd01a
parent 45 fe9aec849ab3
child 63 4a943f659c99
--- a/plugins/check_amanda-client	Mon Dec 22 20:17:21 2014 +0100
+++ b/plugins/check_amanda-client	Fri Mar 27 15:47:55 2015 +0100
@@ -13,6 +13,7 @@
 use Pod::Usage;
 use Const::Fast;
 use if $ENV{DEBUG} => 'Smart::Comments';
+use if $^V > v5.14 => (experimental => qw/smartmatch lexical_topic/);
 
 const my $NAME  => 'AMANDA-CLIENT';
 const my $USER  => 'backup';
@@ -156,7 +157,7 @@
 				$mode, $group, $f_mode, $f_owner, $f_group;
 
 		if (-f '/etc/debian_version') {
-			$msg .= sprintf  "try dpkg-statoverride --update --add root %sgroup 0%04o %s\n",
+			$msg .= sprintf  "try dpkg-statoverride --update --add root %s 0%04o %s\n",
 			  $group, $mode, $file;
 		}