diff options
| author | Rob Landley <rob@landley.net> | 2008-08-15 14:14:10 -0500 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2008-08-15 14:14:10 -0500 |
| commit | 5a9c37f5e9dde147270974d796b5c6c742fb2804 (patch) | |
| tree | 65ac2b46461454bd92ea31f50760eeff3c52589d | |
| parent | e824ed1b5a1d7a6c839348cf4636ceb9972e7a11 (diff) | |
| download | toybox-5a9c37f5e9dde147270974d796b5c6c742fb2804.tar.gz | |
Chroot should stop option parsing at the first non-option argument.
| -rw-r--r-- | toys/chroot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/chroot.c b/toys/chroot.c index a3a5f53c..06823796 100644 --- a/toys/chroot.c +++ b/toys/chroot.c @@ -6,7 +6,7 @@ * * Not in SUSv3. -USE_CHROOT(NEWTOY(chroot, "<1", TOYFLAG_USR|TOYFLAG_SBIN)) +USE_CHROOT(NEWTOY(chroot, "^<1", TOYFLAG_USR|TOYFLAG_SBIN)) config CHROOT bool "chroot" |
