aboutsummaryrefslogtreecommitdiff
path: root/mutt/notify.sh
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-07-19 20:28:05 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-07-19 20:28:05 +0200
commit466ee41add2f57bc59eca1f7444ad122b97ff974 (patch)
tree2d873fe5419498ea9f0afccc4d314808c766b3d9 /mutt/notify.sh
parent12b654b02a3ba2b88194ed2582722bc92bf16361 (diff)
downloaddotfiles-466ee41add2f57bc59eca1f7444ad122b97ff974.tar.gz
dotfiles-466ee41add2f57bc59eca1f7444ad122b97ff974.tar.bz2
dotfiles-466ee41add2f57bc59eca1f7444ad122b97ff974.zip
many updates
Diffstat (limited to 'mutt/notify.sh')
-rwxr-xr-xmutt/notify.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutt/notify.sh b/mutt/notify.sh
index 4dbc0f6..a628c52 100755
--- a/mutt/notify.sh
+++ b/mutt/notify.sh
@@ -14,9 +14,9 @@
echo "$1"
echo "$1" | grep -q "New" > /dev/null 2>&1
+status=$?
-if [ $? -eq 0 ];
-then
+if [ $status -eq 0 ];then
xset led 1
touch ~/.mutt/newmail
else