From e1c08c25b5a821fc2b9a9094c5801440559087a5 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Mon, 7 Oct 2019 11:29:28 +0200 Subject: [PATCH] Fix missed parameter file reading --- cdist/conf/type/__group/explorer/group | 2 +- cdist/conf/type/__group/explorer/gshadow | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdist/conf/type/__group/explorer/group b/cdist/conf/type/__group/explorer/group index dc673f61..8c8e840d 100755 --- a/cdist/conf/type/__group/explorer/group +++ b/cdist/conf/type/__group/explorer/group @@ -23,7 +23,7 @@ # not_supported() { - echo "Your operating system ($("$__explorer/os")) is currently not supported." >&2 + echo "Your operating system ($(cat "$__explorer/os")) is currently not supported." >&2 echo "Cannot extract group information." >&2 echo "Please contribute an implementation for it if you can." >&2 exit 1 diff --git a/cdist/conf/type/__group/explorer/gshadow b/cdist/conf/type/__group/explorer/gshadow index 05841d69..c0dce1e3 100755 --- a/cdist/conf/type/__group/explorer/gshadow +++ b/cdist/conf/type/__group/explorer/gshadow @@ -23,7 +23,7 @@ # name=$__object_id -os=$("$__explorer/os") +os=$(cat "$__explorer/os") not_supported() { echo "Your operating system ($os) is currently not supported." >&2