From e9cf6537988f234f8fbe968ccfb843faf795e3dc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 16 Jan 2017 22:35:15 -0500 Subject: [PATCH] os/arch (lemonbar): fix mail checker --- os/arch/.config/panel/lemons/mail | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/os/arch/.config/panel/lemons/mail b/os/arch/.config/panel/lemons/mail index e1ebceeb..1eebc367 100755 --- a/os/arch/.config/panel/lemons/mail +++ b/os/arch/.config/panel/lemons/mail @@ -14,8 +14,7 @@ get_mail() { local maildatatmp=/tmp/mail-data-"$1" local mailtmp=/tmp/mail-count-"$1" - if true; then - # if curl -u "$1:$2" --silent https://mail.google.com/mail/feed/atom > "$maildatatmp"; then + if curl -u "$1:$2" --silent https://mail.google.com/mail/feed/atom > "$maildatatmp"; then [[ -f "$mailtmp" ]] || echo "0" >"$mailtmp" local feed=$(<"$maildatatmp")