Apply poptReadDefaultConfig iff RPM_USES_POPTREADDEFAULTCONFIG is set.
This commit is contained in:
parent
7484efff8e
commit
2975d9b63b
|
@ -472,7 +472,9 @@ main(int argc, char *argv[])
|
|||
#endif
|
||||
|
||||
optCon = poptGetContext("rpminject", argc, (const char **) argv, optionsTable, 0);
|
||||
#if RPM_USES_POPTREADDEFAULTCONFIG
|
||||
poptReadDefaultConfig(optCon, 1);
|
||||
#endif
|
||||
|
||||
while ((arg = poptGetNextOpt(optCon)) > 0) {
|
||||
optArg = poptGetOptArg(optCon);
|
||||
|
|
Loading…
Reference in New Issue