Blob Blame History Raw
diff -up ./plugins-scripts/check_file_age.pl.fixes_from_git_20170117 ./plugins-scripts/check_file_age.pl
--- ./plugins-scripts/check_file_age.pl.fixes_from_git_20170117	2016-11-17 12:23:52.000000000 -0500
+++ ./plugins-scripts/check_file_age.pl	2017-01-17 19:06:18.166531948 -0500
@@ -77,7 +77,7 @@ if (! $opt_f) {
 	exit $ERRORS{'UNKNOWN'};
 }
 
-$opt_f = '"' . $opt_f . '"';
+$opt_f = '"' . $opt_f . '"' if $opt_f =~ / /;
 
 # Check that file(s) exists (can be directory or link)
 $perfdata = "";