From 0ca61d6ed8b8b421598ba5abebcfb48fbf9ef0e7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 5 Feb 2011 19:08:47 +0100 Subject: [PATCH] check for correct manifest, not the init one Signed-off-by: Nico Schottelius --- bin/cdist-manifest-run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cdist-manifest-run b/bin/cdist-manifest-run index d9269842..d5b64a58 100755 --- a/bin/cdist-manifest-run +++ b/bin/cdist-manifest-run @@ -40,8 +40,8 @@ cdist-build-bin PATH="${__cdist_cache_bin}:$PATH" # Force -x, so the user is aware the file is executed -if [ ! -x "${__cdist_manifest_init}" ]; then - __cdist_exit_err "${__cdist_manifest_init} needs to be executable." +if [ ! -x "${__cdist_manifest}" ]; then + __cdist_exit_err "${__cdist_manifest} needs to be executable." fi mkdir -p "${__cdist_output_dir}"