安装失败时输出

This commit is contained in:
shenmo 2023-03-10 20:17:33 +08:00
parent d8909b1424
commit 0478df3b49
2 changed files with 2 additions and 0 deletions

@ -30,6 +30,7 @@ echo ------------------------------------------------------------
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $DEBPATH)
try_run_ret="$?"
if [ "$try_run_ret" -ne 0 ];then
echo "$try_run_output"
exit $try_run_ret
fi

@ -95,6 +95,7 @@ echo --------------------------------------------------------------------------
try_run_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
try_run_ret="$?"
if [ "$try_run_ret" -ne 0 ];then
echo "$try_run_output"
exit $try_run_ret
fi