version 1.77, 2006/03/19 18:51:18 |
version 1.78, 2006/03/25 01:30:23 |
|
|
if (errno != EINTR) |
if (errno != EINTR) |
fatal("Couldn't wait for child: %s", strerror(errno)); |
fatal("Couldn't wait for child: %s", strerror(errno)); |
if (!WIFEXITED(status)) |
if (!WIFEXITED(status)) |
error("Shell exited abormally"); |
error("Shell exited abnormally"); |
else if (WEXITSTATUS(status)) |
else if (WEXITSTATUS(status)) |
error("Shell exited with status %d", WEXITSTATUS(status)); |
error("Shell exited with status %d", WEXITSTATUS(status)); |
} |
} |