diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2019-02-04 23:42:35 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2019-02-04 23:42:35 -0200 |
commit | 177bfdd43ceb3968e525d5c69778f403a4910907 (patch) | |
tree | 2741fe92d95824c1d8210cc6417bd2852df70997 | |
parent | 173f4d72aecd8f3cda669cf8f477df918bf254e0 (diff) | |
download | scripts-177bfdd43ceb3968e525d5c69778f403a4910907.tar.gz scripts-177bfdd43ceb3968e525d5c69778f403a4910907.tar.bz2 |
Status: fix spool.md check
-rwxr-xr-x | status | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -103,7 +103,7 @@ function status_run { #xalarm list # Check for spool files - if [ -e "$HOME/temp/log/spool.md" ] && [ "`wc -l $HOME/temp/log/spool.md`" != "0" ]; then + if [ -e "$HOME/temp/log/spool.md" ] && [ "`wc -l $HOME/temp/log/spool.md | cut -d ' ' -f 1`" != "0" ]; then echo "Spool file not empty: $HOME/temp/log/spool.md" fi |