svn commit: r245993 - stable/9/usr.sbin/daemon
Marius Strobl
marius at FreeBSD.org
Sun Jan 27 17:41:27 UTC 2013
Author: marius
Date: Sun Jan 27 17:41:26 2013
New Revision: 245993
URL: http://svnweb.freebsd.org/changeset/base/245993
Log:
MFC: r244986
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
GNU/Linux *duck*.
Modified:
stable/9/usr.sbin/daemon/daemon.c
Directory Properties:
stable/9/usr.sbin/daemon/ (props changed)
Modified: stable/9/usr.sbin/daemon/daemon.c
==============================================================================
--- stable/9/usr.sbin/daemon/daemon.c Sun Jan 27 17:38:29 2013 (r245992)
+++ stable/9/usr.sbin/daemon/daemon.c Sun Jan 27 17:41:26 2013 (r245993)
@@ -62,7 +62,7 @@ main(int argc, char *argv[])
nochdir = noclose = 1;
restart = 0;
pidfile = user = NULL;
- while ((ch = getopt(argc, argv, "-cfp:ru:")) != -1) {
+ while ((ch = getopt(argc, argv, "cfp:ru:")) != -1) {
switch (ch) {
case 'c':
nochdir = 0;
More information about the svn-src-stable-9
mailing list