summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hush.c b/common/hush.c
index ab513af964..d915f9ed5b 100644
--- a/common/hush.c
+++ b/common/hush.c
@@ -1814,7 +1814,7 @@ int run_shell(void)
static int do_sh(int argc, char *argv[])
{
if (argc < 2)
- return COMMAND_ERROR_USAGE;
+ return run_shell();
return execute_script(argv[1], argc - 1, argv + 1);
}