summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/execline/execlineb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/execline/execlineb.c b/src/execline/execlineb.c
index f94da6e..e93c3e9 100644
--- a/src/execline/execlineb.c
+++ b/src/execline/execlineb.c
@@ -148,6 +148,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
}
nc = myexlp(&sa, argv, argc, nmin, dollar0, flagpushenv == 4) ;
if (nc < 0) strerr_diefu1sys(111, "substitute positional parameters") ;
+ if (!nc) return 0 ;
flagpushenv = 0 ;
}
else if (flagpushenv)