mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
elfctl: error if -e is specified multiple times
Reported by: jrm
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
(cherry picked from commit f0cf9b602d)
This commit is contained in:
parent
f6c74bacf5
commit
85d997620e
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue