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
@ -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 New Issue
Block a user