diff options
Diffstat (limited to 'sbin/sysinstall/exec.c')
-rw-r--r-- | sbin/sysinstall/exec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/sysinstall/exec.c b/sbin/sysinstall/exec.c index 0c07991..379f41d 100644 --- a/sbin/sysinstall/exec.c +++ b/sbin/sysinstall/exec.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: exec.c,v 1.7 1994/11/08 18:44:13 jkh Exp $ + * $Id: exec.c,v 1.8.2.1 1994/11/21 03:11:59 phk Exp $ * */ @@ -38,8 +38,7 @@ exec(int magic, char *cmd, char *args, ...) struct stat dummy; if (stat(cmd, &dummy) == -1) { - sprintf(errmsg, "Executable %s does not exist\n", cmd); - return(-1); + Fatal("Executable %s does not exist", cmd); } va_start(ap, args); |