aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-13 13:46:14 +0800
committerAaron LI <aly@aaronly.me>2018-03-13 13:46:14 +0800
commite22556fca6c254497626e85f5c26a59a97d85a17 (patch)
tree537dea0a22209eb5ef144dc36b7c0444e7e214ba
parent9621d66105248b3f460b54e64f2b98e60b1fa839 (diff)
downloadatoolbox-e22556fca6c254497626e85f5c26a59a97d85a17.tar.bz2
bin/mbsync_cron.sh: change gpg2 to gpg
-rwxr-xr-xbin/mbsync_cron.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mbsync_cron.sh b/bin/mbsync_cron.sh
index 28e991a..986fdaa 100755
--- a/bin/mbsync_cron.sh
+++ b/bin/mbsync_cron.sh
@@ -95,8 +95,8 @@ usage() {
check_cached_passphrase() {
local key="$1"
echo "test" | \
- gpg2 --sign --batch --no-tty --pinentry-mode error \
- --local-user ${key} -o /dev/null >/dev/null 2>&1
+ gpg --sign --batch --no-tty --pinentry-mode error \
+ --local-user ${key} -o /dev/null >/dev/null 2>&1
}