Merge branch 'cherry-pick-64a5e4fa' into 'release-7.5'

sysmngr: keep config when config_scope empty

See merge request feed/iopsys!2140
This commit is contained in:
Vivek Dutta 2026-03-13 16:14:40 +05:30 committed by IOPSYS Dev
commit 7b669b2d01
No known key found for this signature in database

View file

@ -266,7 +266,7 @@ case "$1" in
if [ "${keep_settings}" -eq 0 ]; then
sysupgrade_flag="${sysupgrade_flag} -n"
elif [ "${keep_settings}" -eq 1 ]; then
if [ "${config_scope}" != "All" ]; then
if [ -n "${config_scope}" ] && [ "${config_scope}" != "All" ]; then
sysupgrade_flag="${sysupgrade_flag} -n"
fi
fi