diff --git a/lash.c b/lash.c index 836fc9bab..4727e9b46 100644 --- a/lash.c +++ b/lash.c @@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l) strcat(local_pending_command, " "); } break; +#ifdef BB_FEATURE_SH_ENVIRONMENT case 'x': showXtrace = TRUE; break; +#endif default: usage(shell_usage); } diff --git a/sh.c b/sh.c index 836fc9bab..4727e9b46 100644 --- a/sh.c +++ b/sh.c @@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l) strcat(local_pending_command, " "); } break; +#ifdef BB_FEATURE_SH_ENVIRONMENT case 'x': showXtrace = TRUE; break; +#endif default: usage(shell_usage); } diff --git a/shell/lash.c b/shell/lash.c index 836fc9bab..4727e9b46 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l) strcat(local_pending_command, " "); } break; +#ifdef BB_FEATURE_SH_ENVIRONMENT case 'x': showXtrace = TRUE; break; +#endif default: usage(shell_usage); }