added error code
This commit is contained in:
1 parent
57d54e9916
commit
2c1f76c8f9
1 file changed
+2
-2
+2
-2
@@ -231,7 +231,7 @@ public class main {
|
||||
}
|
||||
}
|
||||
else{*/
|
||||
path = which(input);
|
||||
path = which(input);//"/bin/"+input;
|
||||
//}
|
||||
} else {
|
||||
return Integer.MIN_VALUE + 1;
|
||||
@@ -262,7 +262,7 @@ public class main {
|
||||
//execute the program
|
||||
execv(path, inputArray);
|
||||
printColor("execv fatal error", "red", true);
|
||||
exit(0);
|
||||
exit(Integer.MIN_VALUE);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user