summaryrefslogtreecommitdiffstats
path: root/deploy/launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/launch.sh')
-rwxr-xr-xdeploy/launch.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/launch.sh b/deploy/launch.sh
index 5f1ee1cb..51094b29 100755
--- a/deploy/launch.sh
+++ b/deploy/launch.sh
@@ -142,8 +142,11 @@ echo "NOTE: openrc file is in the controller nodes"
echo ""
if [[ ${DHA##*/} =~ "openo" ]]; then
- sudo python ${COMPASS_DIR}/deploy/opera_adapter.py $DHA $NETWORK
+ python ${COMPASS_DIR}/deploy/opera_adapter.py $DHA $NETWORK
if [[ $? -ne 0 ]]; then
+ log_error 'opera launch failed'
exit 1
fi
fi
+
+echo 'compass deploy success'