OSDN Git Service

Add : as an alias for true (toysh needs this).
authorRob Landley <rob@landley.net>
Sun, 29 Jun 2014 03:36:02 +0000 (22:36 -0500)
committerRob Landley <rob@landley.net>
Sun, 29 Jun 2014 03:36:02 +0000 (22:36 -0500)
toys/posix/true.c

index 09e551c..b22b7ac 100644 (file)
@@ -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"