More paranoid dealings with system()

This commit is contained in:
Jordan K. Hubbard 1993-10-08 02:38:15 +00:00
parent 5c015679e9
commit 1fdef8c67e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=547

View File

@ -137,14 +137,8 @@ do_system_command (command)
else
status = system (command);
/*
* Ultrix returns 127 for failure. Is this normal?
*/
if (status == 127)
{
gripe_system_command (status);
return 0;
}
if (status)
return 0;
else
return 1;
}