Script Refactoring

pull/2148/head
skiffer-git 2 years ago
parent 92650ab789
commit db41c12d1f

@ -34,7 +34,7 @@ ret_val=$?
if [ $ret_val -eq 0 ]; then if [ $ret_val -eq 0 ]; then
echo "All services are running normally." echo "All services are running normally."
else else
echo "Some services are not running as expected." echo "Some services are not running as expected. Details are as follows:"
echo "$result" echo "$result"
exit 1 exit 1
fi fi

@ -29,18 +29,5 @@ fi
result=$(start_binaries) result=$(start_binaries)
result=$(check_binaries_running) $OPENIM_SCRIPTS/check.sh
ret_val=$?
if [ $ret_val -eq 0 ]; then
echo "All binaries are running."
else
echo "$result"
echo "abort..."
exit 1
fi
print_listened_ports_by_binaries

Loading…
Cancel
Save