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

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