diff --git a/docker/release_distribution_scripts/utbot_server_restart.sh b/docker/release_distribution_scripts/utbot_server_restart.sh index 77f6e869c..f13dd7f31 100644 --- a/docker/release_distribution_scripts/utbot_server_restart.sh +++ b/docker/release_distribution_scripts/utbot_server_restart.sh @@ -22,7 +22,7 @@ then echo $pp done read -r -p "Do you want kill them? [Y/n] " response - if [[ $response =~ ^(yes|y| ) ]] || [[ -z $response ]] + if [[ $response =~ ^([yY][eE][sS]|[yY]| ) ]] || [[ -z $response ]] then for pp in $RUNNING; do echo $pp | awk '{print $2;}' | xargs kill