diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 23:28:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-23 23:28:55 +0000 |
commit | 96702ca945a8deac1f989584f2b25d1a16d14b72 (patch) | |
tree | 4de934d94214ca3b46dbce6de8dabe4517bd5247 /shell/hush.c | |
parent | 8ec6ee47f1e70ff25518ad6455e68d45d7ce1b87 (diff) | |
download | busybox-w32-96702ca945a8deac1f989584f2b25d1a16d14b72.tar.gz busybox-w32-96702ca945a8deac1f989584f2b25d1a16d14b72.tar.bz2 busybox-w32-96702ca945a8deac1f989584f2b25d1a16d14b72.zip |
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 6bf4d1d19..b3c77aa14 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -3925,3 +3925,13 @@ int hush_main(int argc, char **argv) | |||
3925 | #endif | 3925 | #endif |
3926 | hush_exit(opt ? opt : last_return_code); | 3926 | hush_exit(opt ? opt : last_return_code); |
3927 | } | 3927 | } |
3928 | |||
3929 | |||
3930 | #if ENABLE_LASH | ||
3931 | int lash_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | ||
3932 | int lash_main(int argc, char **argv) | ||
3933 | { | ||
3934 | //bb_error_msg("lash is deprecated, please use hush instead"); | ||
3935 | return hush_main(argc, argv); | ||
3936 | } | ||
3937 | #endif | ||