mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
安装失败时输出
This commit is contained in:
@@ -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_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app $DEBPATH)
|
||||||
try_run_ret="$?"
|
try_run_ret="$?"
|
||||||
if [ "$try_run_ret" -ne 0 ];then
|
if [ "$try_run_ret" -ne 0 ];then
|
||||||
|
echo "$try_run_output"
|
||||||
exit $try_run_ret
|
exit $try_run_ret
|
||||||
fi
|
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_output=$(/opt/durapps/spark-store/bin/update-upgrade/ss-do-upgrade-worker.sh test-install-app "$DEBPATH")
|
||||||
try_run_ret="$?"
|
try_run_ret="$?"
|
||||||
if [ "$try_run_ret" -ne 0 ];then
|
if [ "$try_run_ret" -ne 0 ];then
|
||||||
|
echo "$try_run_output"
|
||||||
exit $try_run_ret
|
exit $try_run_ret
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user