diff --git a/cdist/conf/type/__clean_path/explorer/list b/cdist/conf/type/__clean_path/explorer/list index ef46887d..07d38127 100755 --- a/cdist/conf/type/__clean_path/explorer/list +++ b/cdist/conf/type/__clean_path/explorer/list @@ -20,11 +20,7 @@ path="/$__object_id" -if [ ! -d "$path" ] -then - echo "$path is not a directory" >&2 - exit 1 -fi +[ ! -d "$path" ] && exit 0 pattern="$( cat "$__object/parameter/pattern" )"