diff --git a/hypo b/hypo index 85bcf49..77c6d17 100755 --- a/hypo +++ b/hypo @@ -54,7 +54,7 @@ function cmd_send curl --upload-file "$sendfile" "$URL/" - if [[ -t 0 ]]; then + if [[ ! -t 0 ]]; then rm "$sendfile" fi }