Skip to content

Commit 14e599c

Browse files
Vladislav Kaluginladisgin
Vladislav Kalugin
authored andcommitted
Make input in utbot_server_restart.sh case-insensitive
1 parent 218436b commit 14e599c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/release_distribution_scripts/utbot_server_restart.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ then
2222
echo $pp
2323
done
2424
read -r -p "Do you want kill them? [Y/n] " response
25-
if [[ $response =~ ^(yes|y| ) ]] || [[ -z $response ]]
25+
if [[ $response =~ ^([yY][eE][sS]|[yY]| ) ]] || [[ -z $response ]]
2626
then
2727
for pp in $RUNNING; do
2828
echo $pp | awk '{print $2;}' | xargs kill

0 commit comments

Comments
 (0)