Skip to content
Snippets Groups Projects
Commit 4149be47 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

respect exitcode of ssexec_start

parent 8c125dd5
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#include <66/resolve.h> #include <66/resolve.h>
#include <66/ssexec.h> #include <66/ssexec.h>
//#include <stdio.h> #include <stdio.h>
static unsigned int FORCE = 0 ; static unsigned int FORCE = 0 ;
...@@ -299,7 +299,7 @@ int ssexec_enable(int argc, char const *const *argv,char const *const *envp,ssex ...@@ -299,7 +299,7 @@ int ssexec_enable(int argc, char const *const *argv,char const *const *envp,ssex
newargv[m++] = 0 ; newargv[m++] = 0 ;
if (ssexec_start(nargc,newargv,envp,info)) if (!ssexec_start(nargc,newargv,envp,info))
{ {
genalloc_deepfree(stralist,&tostart,stra_free) ; genalloc_deepfree(stralist,&tostart,stra_free) ;
return 111 ; return 111 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment