svn commit: r245994 - stable/8/usr.sbin/daemon
Marius Strobl
marius at FreeBSD.org
Sun Jan 27 17:41:30 UTC 2013
Author: marius
Date: Sun Jan 27 17:41:29 2013
New Revision: 245994
URL: http://svnweb.freebsd.org/changeset/base/245994
Log:
MFC: r244986
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
GNU/Linux *duck*.
Modified:
stable/8/usr.sbin/daemon/daemon.c
Directory Properties:
stable/8/usr.sbin/daemon/ (props changed)
Modified: stable/8/usr.sbin/daemon/daemon.c
==============================================================================
--- stable/8/usr.sbin/daemon/daemon.c Sun Jan 27 17:41:26 2013 (r245993)
+++ stable/8/usr.sbin/daemon/daemon.c Sun Jan 27 17:41:29 2013 (r245994)
@@ -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-8
mailing list