Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/interpret-mail6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/interpret-mail b/bin/interpret-mail
index 85e81b7..65528b4 100755
--- a/bin/interpret-mail
+++ b/bin/interpret-mail
@@ -123,7 +123,7 @@ if ! hashcash -qXc -b 20 \
# shellcheck disable=SC2016
{
printf 'INSERT INTO `email_log` (`success`,`comment`)'
- printf ' VALUES 0,"Invalid stamp - ignoring this message.";\n'
+ printf ' VALUES (0,"Invalid stamp - ignoring this message.");\n'
} | \
mysql_run_query
exit
@@ -143,7 +143,7 @@ if ! sed -n '
# shellcheck disable=SC2016
{
printf 'INSERT INTO `email_log` (`success`,`comment`)'
- printf ' VALUES 0,from_base64("%s");\n' \
+ printf ' VALUES (0,from_base64("%s"));\n' \
"$(
{
printf 'Invalid encryption/signature - ignoring this message.\n'
@@ -183,7 +183,7 @@ if [ -z "${gpg_keys_filter}" ]; then
# shellcheck disable=SC2016
{
printf 'INSERT INTO `email_log` (`success`,`comment`)'
- printf ' VALUES 0,from_base64("%s");\n' \
+ printf ' VALUES (0,from_base64("%s"));\n' \
"$(
{
printf 'No known signature found - I found:\n'