about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-24 16:16:32 -0500
committerJune McEnroe <june@causal.agency>2021-02-24 16:16:32 -0500
commit4637f5de42c8d5b19a8d0b34b772cfbe665ad3a1 (patch)
treecb5b45e310a2f011bd9c41a5a54926bb58257093
parentAdd -U and -s flags to git-fetch-email (diff)
downloadimbox-4637f5de42c8d5b19a8d0b34b772cfbe665ad3a1.tar.gz
imbox-4637f5de42c8d5b19a8d0b34b772cfbe665ad3a1.zip
Use printf for pass
-rw-r--r--git-fetch-email.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-fetch-email.sh b/git-fetch-email.sh
index 571fc4f..7ceecc9 100644
--- a/git-fetch-email.sh
+++ b/git-fetch-email.sh
@@ -105,7 +105,7 @@ if [ -z "${pass}" ]; then
 fi
 
 fetch() {
-	echo "${pass}" | imbox -w \
+	printf '%s' "${pass}" | imbox -w \
 		${verbose:+-v} ${idle:+-i} ${unseen:+-U} ${seen:+-s} \
 		${host:+-h "${host}"} \
 		${port:+-p "${port}"} \