Remove bogus '-' from getopt(3) string hit when porting daemon(8) to

GNU/Linux *duck*.

MFC after:	1 week
This commit is contained in:
Marius Strobl 2013-01-03 00:49:11 +00:00
parent 161aae1a7a
commit 7c0360c4c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244986

View File

@ -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;