From fa2f19771ab92dc2c56358b1b58d1218ca8a16ac Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 22 Oct 2018 09:43:57 +0100 Subject: Only disable tracing embedded scripts if they can't be listed --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/ash.c b/shell/ash.c index 9d7ef032c..112b26981 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -14829,7 +14829,9 @@ procargs(char **argv) char *script; if ((script=check_embedded(*xargv)) != NULL) { setinputstring(script); +#if !ENABLE_ASH_LIST_EMBEDDED_SCRIPTS xflag = 0; +#endif goto setarg0; } #endif -- cgit v1.2.3-55-g6feb