diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-10-06 20:30:43 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-10-06 20:30:43 -0300 |
commit | 0bc3d6b5d3aded05f8e241769470360b8c939f62 (patch) | |
tree | 7a2cd33ecffcb2802ac24f4ecff136322dad8ee3 | |
parent | 6deabc70ad80fb0da11dde1078380f0af9c5e6f7 (diff) | |
download | scripts-0bc3d6b5d3aded05f8e241769470360b8c939f62.tar.gz scripts-0bc3d6b5d3aded05f8e241769470360b8c939f62.tar.bz2 |
Status: check for spool file
-rwxr-xr-x | status | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |