diff options
-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 |