diff options
author | peter <peter@FreeBSD.org> | 2007-04-19 16:43:30 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2007-04-19 16:43:30 +0000 |
commit | 776c08f634154d991c96e6da668385a51e101203 (patch) | |
tree | cdb4985f048b28eaada15ff6095f1aebc072701a /usr.sbin/daemon | |
parent | b79eceb7f37331e0724c1eb4b575b3b779b8a47b (diff) | |
download | FreeBSD-src-776c08f634154d991c96e6da668385a51e101203.zip FreeBSD-src-776c08f634154d991c96e6da668385a51e101203.tar.gz |
Unbreak rev 1.7's getopt usage. The -f switch does not take an argument.
The stray ':' was from the defunct '-g' group arg.
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 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; |