diff --git a/bin/sde-nopaste b/bin/sde-nopaste index 2f6eadf..8e68dcb 100755 --- a/bin/sde-nopaste +++ b/bin/sde-nopaste @@ -51,6 +51,7 @@ text/x-diff) lang=diff ;; text/x-c) lang=c ;; *) case "$type" in + empty) exit ;; "diff output text") lang=diff ;; *) echo_warning "Assuming plain text (type:$type mime:$mime)" lang=text ;;