aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/true.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-06-28 22:36:02 -0500
committerRob Landley <rob@landley.net>2014-06-28 22:36:02 -0500
commitf1a3098fb332ae0db638da408088a7b9d2c0c14b (patch)
treefe17094f8435b565ad73c9e20cd598d4073e70b4 /toys/posix/true.c
parent4f1d655b5c859a0af7bf452b8da4320a620f4c2d (diff)
downloadtoybox-f1a3098fb332ae0db638da408088a7b9d2c0c14b.tar.gz
Add : as an alias for true (toysh needs this).
Diffstat (limited to 'toys/posix/true.c')
-rw-r--r--toys/posix/true.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/posix/true.c b/toys/posix/true.c
index 09e551c3..b22b7ac1 100644
--- a/toys/posix/true.c
+++ b/toys/posix/true.c
@@ -5,6 +5,7 @@
* See http://opengroup.org/onlinepubs/9699919799/utilities/true.html
USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN))
+USE_TRUE(OLDTOY(:, true, 0, TOYFLAG_NOFORK))
config TRUE
bool "true"