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:
Lyndon Brown 2020-05-05 21:49:57 +01:00
parent 18eefdd6f3
commit 180207d711
1 changed files with 0 additions and 9 deletions

View File

@ -822,15 +822,6 @@ Local_arguments ()
;;
esac
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