Browse Source

sde-nopaste: improved to skip empty inputs

user/amery/wip/mount
Alejandro Mery 14 years ago
parent
commit
219b39fa92
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bin/sde-nopaste

+ 1
- 0
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 ;;

Loading…
Cancel
Save