[vhffs-dev] [2238] clarified vhffscron error message when the script to run is not a regular or not executable

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 2238
Author:   gradator
Date:     2013-11-12 18:10:14 +0100 (Tue, 12 Nov 2013)
Log Message:
-----------
clarified vhffscron error message when the script to run is not a regular or not executable

Modified Paths:
--------------
    trunk/vhffs-cron/src/vhffscron.pl

Modified: trunk/vhffs-cron/src/vhffscron.pl
===================================================================
--- trunk/vhffs-cron/src/vhffscron.pl	2013-10-31 22:20:07 UTC (rev 2237)
+++ trunk/vhffs-cron/src/vhffscron.pl	2013-11-12 17:10:14 UTC (rev 2238)
@@ -329,7 +329,7 @@
 		my $cronpath = $cron->get_cronpath;
 
 		unless( -f $cronpath && -x $cronpath )  {
-			print $son "CRITICAL: The path is neither a regular file nor an executable\n";
+			print $son "CRITICAL: The path must be a regular file with executable rights (+x)\n";
 			_exit(FAIL_TO_RUN_PROCESS_EXIT_CODE);
 		}
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/