From 0bc3d6b5d3aded05f8e241769470360b8c939f62 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 6 Oct 2018 20:30:43 -0300 Subject: Status: check for spool file --- status | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'status') diff --git a/status b/status index e242609..7242193 100755 --- a/status +++ b/status @@ -102,6 +102,11 @@ function status_run { # Alarms set #xalarm list + # Check for spool files + if [ -e "$HOME/temp/log/spool.md" ] && [ "`wc -l $HOME/temp/log/spool.md`" != "0" ]; then + echo "Spool file not empty: $HOME/temp/log/spool.md" + fi + # Check if are dangling downloaded files if [ -e "$HOME/load" ] && [ ! -z "`ls -1 ~/load/`" ]; then # Print a newline if needed depending of the output of the previous commands -- cgit v1.2.3