mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +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 New Issue
Block a user