diff --git a/bin/org-capture b/bin/org-capture index d7e4538d5..c7075dcb6 100755 --- a/bin/org-capture +++ b/bin/org-capture @@ -30,7 +30,7 @@ shift $((OPTIND-1)) # use remaining args, else try stdin str="$*" -if [ -z $str ]; then +if [ -z "$str" ]; then str=$(cat) fi