Fix absent state for verbose in ccollect_source type.

This commit is contained in:
Darko Poljak 2016-07-15 08:20:07 +02:00
parent 1501590f88
commit 7c55364cc2

View file

@ -40,7 +40,9 @@ echo "$source" | __file "$source_file" --source - --state "$state"
################################################################################
# Booleans
if [ -f "$__object/parameter/verbose" ]; then
if [ "${state}" = "absent" ]; then
verbosestate="absent"
elif [ -f "$__object/parameter/verbose" ]; then
verbosestate="present"
else
verbosestate="absent"