Fix upgrade.sh
script error with su -c
#19483
Merged
upgrade.sh
script error with su -c
#19483