Commit 7dfa4d8d authored by Dan Reading's avatar Dan Reading
Browse files

make silent if nothing found in checkinventorydrift

parent edb6a25a
...@@ -61,13 +61,13 @@ checkdrift_main() { ...@@ -61,13 +61,13 @@ checkdrift_main() {
rm -f /tmp/.$$checkdiff rm -f /tmp/.$$checkdiff
done done
# :[[ $countsame -gt 1 ]] && echo "$host $countsame inventory files are the same" # :[[ $countsame -gt 1 ]] && echo "$host $countsame inventory files are the same"
echo -n . # : echo -n .
else else
echo "No record of node id \"$host\"." echo "No record of node id \"$host\"."
fi fi
done done
echo "" echo ""
echo "$filecount files in $hostcount nodes checked" # : echo "$filecount files in $hostcount nodes checked"
} }
checkwce_main() { checkwce_main() {
set -u set -u
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment