sbin/veriexec: fixed parameter parsing of option -x
The -x parameter doesn't take any arguments. It says that all further arguments are paths to check. Reviewed by: imp@ Sponsored by: Netflix Pull Request: https://github.com/freebsd/freebsd-src/pull/443/files
This commit is contained in:
parent
4a66b8083c
commit
e5be21d19b
@ -70,7 +70,7 @@ main(int argc, char *argv[])
|
||||
|
||||
dev_fd = open(_PATH_DEV_VERIEXEC, O_WRONLY, 0);
|
||||
|
||||
while ((c = getopt(argc, argv, "C:i:x:vz:")) != -1) {
|
||||
while ((c = getopt(argc, argv, "C:i:xvz:")) != -1) {
|
||||
switch (c) {
|
||||
case 'C':
|
||||
Cdir = optarg;
|
||||
|
Loading…
Reference in New Issue
Block a user