projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f931875
)
hush: make "true" built-in
author
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 14 Mar 2014 11:43:57 +0000
(12:43 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Fri, 14 Mar 2014 11:43:57 +0000
(12:43 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 927193450caf28fb94e1576630d737092885d681..7b0ea8b0c1d4c1445637dbfc10e46644b8fe3b63 100644
(file)
--- 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"),