Help for this page

Select Code to Download


  1. or download this
    sub didScriptSucceed {
        if (0 eq system "$KSH_SCRIPT") { return 1; }
        else { return 0; }
    }
    
  2. or download this
    sub didScriptSucceed {
        return (0 eq system "$KSH_SCRIPT"?$1:2);
    }