aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/true.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-01-01 13:02:20 -0600
committerRob Landley <rob@landley.net>2020-01-01 13:02:20 -0600
commit9c52df1131cf208df3e73cb440485d3673c6491a (patch)
tree9f92a13560c9dac0282c97d496cd85491d04bd63 /toys/posix/true.c
parent7a9073f942b83d12d24415a92428e02aeb561a08 (diff)
downloadtoybox-9c52df1131cf208df3e73cb440485d3673c6491a.tar.gz
Add MAYFORK to more pseudo-builtins.
This doesn't (yet) add shell builtin awareness to time, kill, or pwd, just lets them run in the shell process.
Diffstat (limited to 'toys/posix/true.c')
-rw-r--r--toys/posix/true.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/true.c b/toys/posix/true.c
index 5e443212..b92d9c3a 100644
--- a/toys/posix/true.c
+++ b/toys/posix/true.c
@@ -4,8 +4,8 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/true.html
-USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP))
-USE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK|TOYFLAG_NOHELP))
+USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP|TOYFLAG_MAYFORK))
+USE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK|TOYFLAG_NOHELP|TOYFLAG_MAYFORK))
config TRUE
bool "true"