Script Refactoring

This commit is contained in:
skiffer-git 2024-04-02 16:05:00 +08:00
parent 92650ab789
commit db41c12d1f
2 changed files with 2 additions and 15 deletions

View File

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

View File

@ -29,18 +29,5 @@ fi
result=$(start_binaries)
result=$(check_binaries_running)
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
$OPENIM_SCRIPTS/check.sh