diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-14 19:00:00 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-04 13:29:37 +0200 |
commit | 6ac62c4b6cae9f92d8d631ad1aca3b822e24901a (patch) | |
tree | 603aff0fe2f6a37c8591c60ce5e47009e585a699 /package/base-files/files/sbin/sysupgrade | |
parent | adec8aa291034e7df5a87960bdfbdf4c6f566fd6 (diff) | |
download | upstream-6ac62c4b6cae9f92d8d631ad1aca3b822e24901a.tar.gz upstream-6ac62c4b6cae9f92d8d631ad1aca3b822e24901a.tar.bz2 upstream-6ac62c4b6cae9f92d8d631ad1aca3b822e24901a.zip |
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 3f4c785a6bbde87296e362c315f10b55c98843e3)
Diffstat (limited to 'package/base-files/files/sbin/sysupgrade')
-rwxr-xr-x | package/base-files/files/sbin/sysupgrade | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade index 73291262e7..001e644476 100755 --- a/package/base-files/files/sbin/sysupgrade +++ b/package/base-files/files/sbin/sysupgrade @@ -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 |