diff --git a/scripts-new/start.sh b/scripts-new/start.sh index 041e34516..562cbb2c9 100644 --- a/scripts-new/start.sh +++ b/scripts-new/start.sh @@ -18,12 +18,10 @@ kill_exist_binaries result=$(check_binaries_stop) ret_val=$? -if [ $ret_val -eq 0 ]; then - echo "All binaries are stopped." -else - echo "$result" - echo "abort..." - exit 1 +if [ $ret_val -ne 0 ]; then + echo "$result" + echo "abort..." + exit 1 fi