aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/upgrade
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2019-07-14 19:00:00 +0200
committerRafał Miłecki <rafal@milecki.pl>2019-07-17 08:10:40 +0200
commit3f4c785a6bbde87296e362c315f10b55c98843e3 (patch)
treec136b3bbd9716b52ed9986ed8c03057998c735c7 /package/base-files/files/lib/upgrade
parent76e43c82b55518b794ac24f9acfb3888c638f99b (diff)
downloadupstream-3f4c785a6bbde87296e362c315f10b55c98843e3.tar.gz
upstream-3f4c785a6bbde87296e362c315f10b55c98843e3.tar.bz2
upstream-3f4c785a6bbde87296e362c315f10b55c98843e3.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>
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rwxr-xr-xpackage/base-files/files/lib/upgrade/stage23
1 files changed, 0 insertions, 3 deletions
diff --git a/package/base-files/files/lib/upgrade/stage2 b/package/base-files/files/lib/upgrade/stage2
index 0a11cb2005..fef121f37c 100755
--- a/package/base-files/files/lib/upgrade/stage2
+++ b/package/base-files/files/lib/upgrade/stage2
@@ -6,9 +6,6 @@
export IMAGE="$1"
COMMAND="$2"
-export ARGV="$IMAGE"
-export ARGC=1
-
export SAVE_CONFIG=1
export SAVE_PARTITIONS=1