From 4bb094e00455c6205397403057944641d5c16185 Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 27 Jan 2013 17:41:29 +0000 Subject: [PATCH] MFC: r244986 Remove bogus '-' from getopt(3) string hit when porting daemon(8) to GNU/Linux *duck*. git-svn-id: svn://svn.freebsd.org/base/stable/8@245994 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- usr.sbin/daemon/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index 7c8e9feeb..b012c882e 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; -- 2.45.0