mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
Merge pull request #283 from sirkkalap/master
Fail fast in case we are run without a terminal
This commit is contained in:
@@ -12,7 +12,7 @@ while true; do
|
||||
case $yn in
|
||||
[Yy]* ) docker-machine rm -f $(docker-machine ls -q); break;;
|
||||
[Nn]* ) break;;
|
||||
* ) echo "Please answer yes or no.";;
|
||||
* ) echo "Please answer yes or no."; exit 1;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user