mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
Fix handling of the "-l" argument for nfsdumpstate(8).
Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks
This commit is contained in:
parent
ad09ad06bc
commit
1248463c17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210272
|
@ -76,7 +76,7 @@ main(int argc, char **argv)
|
|||
errx(1, "nfsd not loaded - self terminating");
|
||||
openstate = 0;
|
||||
lockfile = NULL;
|
||||
while ((ch = getopt(argc, argv, "ol")) != -1)
|
||||
while ((ch = getopt(argc, argv, "ol:")) != -1)
|
||||
switch (ch) {
|
||||
case 'o':
|
||||
openstate = 1;
|
||||
|
|
Loading…
Reference in a new issue