elfctl: error if -e is specified multiple times
Reported by: jrm MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
05f0b24bfb
commit
f0cf9b602d
@ -116,6 +116,8 @@ main(int argc, char **argv)
|
||||
lflag = true;
|
||||
break;
|
||||
case 'e':
|
||||
if (features != NULL)
|
||||
errx(1, "-e may be specified only once");
|
||||
features = optarg;
|
||||
editfeatures = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user