summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2014-03-14 12:43:57 +0100
committerDenys Vlasenko2014-03-14 12:43:57 +0100
commit2bba591991f5ac9b97582e37375dd49492c63df0 (patch)
treec38ea71ec8ea20b7c1676ec094cbf90235dfa976 /shell
parentf93187512d0a8db6b7160088d3d0b325dd83c937 (diff)
downloadbusybox-2bba591991f5ac9b97582e37375dd49492c63df0.zip
busybox-2bba591991f5ac9b97582e37375dd49492c63df0.tar.gz
hush: make "true" built-in
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 9271934..7b0ea8b 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -944,6 +944,7 @@ static const struct built_in_command bltins1[] = {
BLTIN("source" , builtin_source , "Run commands in a file"),
#endif
BLTIN("trap" , builtin_trap , "Trap signals"),
+ BLTIN("true" , builtin_true , NULL),
BLTIN("type" , builtin_type , "Show command type"),
BLTIN("ulimit" , shell_builtin_ulimit , "Control resource limits"),
BLTIN("umask" , builtin_umask , "Set file creation mask"),