forked from cerc-io/ipld-eth-server
14 lines
223 B
Bash
Executable File
14 lines
223 B
Bash
Executable File
#!/bin/sh
|
|
# Author: Juan Batiz-Benet <juan@benet.ai>
|
|
# MIT LICENSED
|
|
|
|
# if not a terminal, exit 0 (yes!)
|
|
test -t 1 || exit 0
|
|
|
|
read -p "continue? [y/N] " REPLY
|
|
echo
|
|
case "$REPLY" in
|
|
[Yy]*) exit 0 ;;
|
|
*) exit 1 ;;
|
|
esac
|