diff options
author | Denis Vlasenko | 2007-11-23 23:28:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-11-23 23:28:55 +0000 |
commit | 96702ca945a8deac1f989584f2b25d1a16d14b72 (patch) | |
tree | 4de934d94214ca3b46dbce6de8dabe4517bd5247 /shell/hush.c | |
parent | 8ec6ee47f1e70ff25518ad6455e68d45d7ce1b87 (diff) | |
download | busybox-96702ca945a8deac1f989584f2b25d1a16d14b72.zip busybox-96702ca945a8deac1f989584f2b25d1a16d14b72.tar.gz |
kill lash. "lash" builtin still exists, but it runs hush.
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c index 6bf4d1d..b3c77aa 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -3925,3 +3925,13 @@ int hush_main(int argc, char **argv) #endif hush_exit(opt ? opt : last_return_code); } + + +#if ENABLE_LASH +int lash_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; +int lash_main(int argc, char **argv) +{ + //bb_error_msg("lash is deprecated, please use hush instead"); + return hush_main(argc, argv); +} +#endif |