Fix the if condition. Strings vs numbers.

This commit is contained in:
Colin Shea 2011-11-27 03:29:13 -07:00
commit 5978418681

View file

@ -68,7 +68,7 @@ sprunge() {
done | curl -F 'sprunge=<-' http://sprunge.us)
fi
if [ "$syntax" -ne "text" ]; then
if [ "$syntax" != "text" ]; then
echo "$url?$syntax"
else
echo $url