Skip to content

Commit

Permalink
Make input in utbot_server_restart.sh case-insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Kalugin authored and ladisgin committed Sep 2, 2022
1 parent 218436b commit 14e599c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14e599c

Please sign in to comment.