Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add common binaries directories in case when they are not set when ca…

…lling from cron
  • Loading branch information...
commit d16f7251edeac3d4e386fceb016c93bf5a781c03 1 parent ce8396d
root authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  vzfailcnt
View
2  vzfailcnt
@@ -17,6 +17,8 @@ our $CONF_DIR = '/etc/vz/conf';
our $SCRIPT_PATH = abs_path(__FILE__);
sub main {
+ $ENV{PATH} = "$ENV{PATH}:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin";
+
if (-f $CONF_OVER) {
read_conf_over($CONF_OVER);
}
Please sign in to comment.
Something went wrong with that request. Please try again.