From 5a9c37f5e9dde147270974d796b5c6c742fb2804 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 15 Aug 2008 14:14:10 -0500 Subject: Chroot should stop option parsing at the first non-option argument. --- toys/chroot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys') 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" -- cgit v1.2.3