changeset 1370:e2b84f715e93 draft

Add : as an alias for true (toysh needs this).
author Rob Landley <rob@landley.net>
date Sat, 28 Jun 2014 22:36:02 -0500
parents 5ec6582aac50
children 0a87952492ae
files toys/posix/true.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/toys/posix/true.c	Sat Jun 28 22:17:00 2014 -0500
+++ b/toys/posix/true.c	Sat Jun 28 22:36:02 2014 -0500
@@ -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"