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
1 changed files with 3 additions and 1 deletions

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"