From 776c08f634154d991c96e6da668385a51e101203 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 19 Apr 2007 16:43:30 +0000 Subject: Unbreak rev 1.7's getopt usage. The -f switch does not take an argument. The stray ':' was from the defunct '-g' group arg. --- usr.sbin/daemon/daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/daemon') diff --git a/usr.sbin/daemon/daemon.c b/usr.sbin/daemon/daemon.c index 4fca144..540ebf3 100644 --- a/usr.sbin/daemon/daemon.c +++ b/usr.sbin/daemon/daemon.c @@ -55,7 +55,7 @@ main(int argc, char *argv[]) nochdir = noclose = 1; pidfile = user = NULL; - while ((ch = getopt(argc, argv, "-cf:p:u:")) != -1) { + while ((ch = getopt(argc, argv, "-cfp:u:")) != -1) { switch (ch) { case 'c': nochdir = 0; -- cgit v1.1