Merge pull request #4752 from panchoh/fix/org-capture-arguments

Fix 'too many arguments' error on org-capture
This commit is contained in:
Henrik Lissner 2021-03-08 10:16:51 -05:00 committed by GitHub
commit ed0631b404
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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