summaryrefslogtreecommitdiffhomepage
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-11-23 23:28:55 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-11-23 23:28:55 +0000
commit96702ca945a8deac1f989584f2b25d1a16d14b72 (patch)
tree4de934d94214ca3b46dbce6de8dabe4517bd5247 /shell/hush.c
parent8ec6ee47f1e70ff25518ad6455e68d45d7ce1b87 (diff)
kill lash. "lash" builtin still exists, but it runs hush.
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c10
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)
#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