comparison toys/chroot.c @ 312:064fc1b8b7b1

Chroot should stop option parsing at the first non-option argument.
author Rob Landley <rob@landley.net>
date Fri, 15 Aug 2008 14:14:10 -0500
parents 163498bf547b
children
comparison
equal deleted inserted replaced
311:962bbf7341f8 312:064fc1b8b7b1
4 * 4 *
5 * Copyright 2007 Rob Landley <rob@landley.net> 5 * Copyright 2007 Rob Landley <rob@landley.net>
6 * 6 *
7 * Not in SUSv3. 7 * Not in SUSv3.
8 8
9 USE_CHROOT(NEWTOY(chroot, "<1", TOYFLAG_USR|TOYFLAG_SBIN)) 9 USE_CHROOT(NEWTOY(chroot, "^<1", TOYFLAG_USR|TOYFLAG_SBIN))
10 10
11 config CHROOT 11 config CHROOT
12 bool "chroot" 12 bool "chroot"
13 default y 13 default y
14 help 14 help