github.com/Blockdaemon/celo-blockchain@v0.0.0-20200129231733-e667f6b08419/scripts/run_geth_in_docker.sh (about)

     1  # allow exiting using CTRL + C
     2  exit_func() {
     3          echo "Exiting..."
     4          exit 1
     5  }
     6  trap exit_func SIGTERM SIGINT
     7  
     8  # 150 is an arbitrary choice, which seems good enough
     9  stty cols 150
    10  sleep 1
    11  geth "$@"