forked from Ivasoft/openwrt
base-files: don't set ARGV and ARGC
Those are not used by any image check function anymore.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 3f4c785a6b)
This commit is contained in:
committed by
Jo-Philipp Wich
parent
adec8aa291
commit
6ac62c4b6c
@@ -316,9 +316,6 @@ case "$IMAGE" in
|
||||
;;
|
||||
esac
|
||||
|
||||
export ARGV="$IMAGE"
|
||||
export ARGC=1
|
||||
|
||||
for check in $sysupgrade_image_check; do
|
||||
( $check "$IMAGE" ) || {
|
||||
if [ $FORCE -eq 1 ]; then
|
||||
|
||||
Reference in New Issue
Block a user