diff --git a/zsh/modules/bin/tellme b/zsh/modules/bin/tellme index 0de3437..48fe3e2 100755 --- a/zsh/modules/bin/tellme +++ b/zsh/modules/bin/tellme @@ -38,7 +38,8 @@ curl -s \ --form-string "token=$application_token" \ --form-string "user=$user_token" \ --form-string "message=$message" \ - https://api.pushover.net/1/messages.json 1>/dev/null + https://api.pushover.net/1/messages.json \ + | grep "\"status\":1," 1>/dev/null [[ $? -eq 0 ]] && echo "message sent" || echo "ERROR SENDING NOTIFICATION"