Revert "config: catch and report unexpected arguments"
This reverts commit 665372c19d
.
the kali test failed due to their script using a hack of passing along a
custom option after an early terminator through to their auto/config file.
the change implemented here was valuable, but i'll have to look into
revising things to work with what Kali is doing.
Gbp-Dch: Ignore
This commit is contained in:
parent
18eefdd6f3
commit
180207d711
|
@ -822,15 +822,6 @@ Local_arguments ()
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# Any remaining arguments should be reported as an unexpected arguments error.
|
|
||||||
if [ $# -ne 0 ]; then
|
|
||||||
local ARG
|
|
||||||
for ARG in "${@}"; do
|
|
||||||
Echo_error "Unexpected argument found: %s" "${ARG}"
|
|
||||||
done
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Processing args such that we have a value for --config if given
|
# Processing args such that we have a value for --config if given
|
||||||
|
|
Loading…
Reference in New Issue