Skip to content

Commit

Permalink
added ignore message
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclingzealot committed Sep 5, 2016
1 parent 4d1900d commit d2df3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lowDiskSpace.bash
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ echo; echo; echo;
### BEGIN SCRIPT ###############################################################

#(a.k.a set -x) to trace what gets executed
set -o xtrace
#set -o xtrace

hostname=`hostname`

Expand All @@ -92,6 +92,7 @@ IFS=$'\n'; for mount in `df`; do
THRESHOLD=90

if grep "^${mountPoint}$" $configFile ; then
echo "Ignoring $mountPoint"
continue
fi

Expand Down

0 comments on commit d2df3a0

Please sign in to comment.