Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

don't hang on tty (closes #1)

  • Loading branch information...
commit c4fde8aacc0f464417284ace97b2e74e3ef3c9cc 1 parent 8b17457
@holman authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 spark
View
7 spark
@@ -135,6 +135,13 @@ then
data="$1"
else
data=''
+
+ # check to see if stdin's a tty
+ if [ -t 0 ]; then
+ help
+ exit
+ fi
+
while read data; do
data=$data
break
Please sign in to comment.
Something went wrong with that request. Please try again.