svn commit: r244986 - head/usr.sbin/daemon
Marius Strobl
marius at FreeBSD.org
Thu Jan 3 00:49:12 UTC 2013
Author: marius
Date: Thu Jan 3 00:49:11 2013
New Revision: 244986
URL: http://svnweb.freebsd.org/changeset/base/244986
Log:
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
GNU/Linux *duck*.
MFC after: 1 week
Modified:
head/usr.sbin/daemon/daemon.c
Modified: head/usr.sbin/daemon/daemon.c
==============================================================================
--- head/usr.sbin/daemon/daemon.c Wed Jan 2 23:29:54 2013 (r244985)
+++ head/usr.sbin/daemon/daemon.c Thu Jan 3 00:49:11 2013 (r244986)
@@ -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-head
mailing list