From 8de07f3e4a67fa1c9bd5293d183090ad08b7be6f Mon Sep 17 00:00:00 2001 From: Hartmut Becker Date: Sun, 24 Aug 2014 22:06:15 +0200 Subject: Enhance/fix VMS exit code handling. * commands.c, function.c, hash.c, job.c, main.c, output.c: use MAKE exit codes. * makeint.h: encode make exit codes so that they are VMS compatible. * job.c: check child exit code for VMS style exit codes. * vmsjobs.c: save and return VMS style exit code. --- function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'function.c') diff --git a/function.c b/function.c index 9c0a036..e1664c0 100644 --- a/function.c +++ b/function.c @@ -1610,7 +1610,7 @@ char * func_shell_base (char *o, char **argv, int trim_newlines) { fprintf (stderr, "This platform does not support shell\n"); - die (EXIT_FAILURE); + die (MAKE_TROUBLE); return NULL; } -- cgit v1.2.3