aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstatus2
1 files changed, 1 insertions, 1 deletions
diff --git a/status b/status
index 7242193..2df4b73 100755
--- a/status
+++ b/status
@@ -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