Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2012 08:25:19 +0000 (UTC)
From:      Maxim Konovalov <maxim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r237697 - head/usr.sbin/jail
Message-ID:  <201206280825.q5S8PJG2062325@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: maxim
Date: Thu Jun 28 08:25:19 2012
New Revision: 237697
URL: http://svn.freebsd.org/changeset/base/237697

Log:
  o Restore -u <username> getopt(3) flag somehow killed in r234712.
  
  PR:		bin/169490
  Submitted by:	amdmi3
  MFC after:	2 weeks

Modified:
  head/usr.sbin/jail/jail.c

Modified: head/usr.sbin/jail/jail.c
==============================================================================
--- head/usr.sbin/jail/jail.c	Thu Jun 28 08:22:00 2012	(r237696)
+++ head/usr.sbin/jail/jail.c	Thu Jun 28 08:25:19 2012	(r237697)
@@ -145,7 +145,7 @@ main(int argc, char **argv)
 	cfname = CONF_FILE;
 	JidFile = NULL;
 
-	while ((ch = getopt(argc, argv, "cdf:hiJ:lmn:p:qrRs:U:v")) != -1) {
+	while ((ch = getopt(argc, argv, "cdf:hiJ:lmn:p:qrRs:u:U:v")) != -1) {
 		switch (ch) {
 		case 'c':
 			op |= JF_START;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206280825.q5S8PJG2062325>