diff options
author | Peter Wemm <peter@FreeBSD.org> | 2007-04-19 16:43:30 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2007-04-19 16:43:30 +0000 |
commit | 12d5df2b3cfb6aa602a3ccdb252de202863e1956 (patch) | |
tree | cdb4985f048b28eaada15ff6095f1aebc072701a /usr.sbin/daemon | |
parent | 18a6073100746337f29208f111fb6adb1f74cb63 (diff) | |
download | src-12d5df2b3cfb6aa602a3ccdb252de202863e1956.tar.gz src-12d5df2b3cfb6aa602a3ccdb252de202863e1956.zip |
Unbreak rev 1.7's getopt usage. The -f switch does not take an argument.
The stray ':' was from the defunct '-g' group arg.
Notes
Notes:
svn path=/head/; revision=168868
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 4fca144b498b..540ebf35df7e 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; |