diff options
author | marius <marius@FreeBSD.org> | 2013-01-03 00:49:11 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2013-01-03 00:49:11 +0000 |
commit | 73840220f60283b92f68bd790b005505440de6e9 (patch) | |
tree | 7bd988711f92aa550257870909fec40f6ec55dd5 /usr.sbin/daemon | |
parent | c9bf307c6bd4e2f2382f1eaa6f85ca73fa3b70e2 (diff) | |
download | FreeBSD-src-73840220f60283b92f68bd790b005505440de6e9.zip FreeBSD-src-73840220f60283b92f68bd790b005505440de6e9.tar.gz |
Remove bogus '-' from getopt(3) string hit when porting daemon(8) to
GNU/Linux *duck*.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/daemon')
-rw-r--r-- | usr.sbin/daemon/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index 7c8e9fe..b012c88 100644 --- a/usr.sbin/daemon/daemon.c +++ b/usr.sbin/daemon/daemon.c @@ -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; |