Help for this page

Select Code to Download


  1. or download this
        if( ! $ENV{PDUPRE_RESTART}) {
            $ENV{PDUPRE_RESTART} = 1;
    ...
                or print "Exec error when restarting $0 @ARGV: $!";
            exit 1;
        };
    
  2. or download this
        if( ! grep { /^--restarted$/ @ARGV) {
            print "Restarting as '$0 --restarted @ARGV'\n";
    ...
            exit 1;
        };