[type/__postgres_conf] Accept empty values

This commit is contained in:
Dennis Camera 2021-04-15 14:46:50 +02:00
parent 12c2995494
commit bef1433ba3

View file

@ -57,7 +57,7 @@ psql_cmd() {
case ${state_should}
in
(present)
test -s "${__object:?}/parameter/value" || {
test -n "${__object:?}/parameter/value" || {
echo 'Missing required parameter --value' >&2
exit 1
}