From ce15edf4d6264aeb1f68018949e3983748e2f65b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 24 Feb 2011 15:23:36 +0100 Subject: [PATCH] do not allow to pass arguments to bin/cdist-manifest-run anymore - use env 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 44cf0741..a24144b8 100755 --- a/bin/cdist-manifest-run +++ b/bin/cdist-manifest-run @@ -23,8 +23,8 @@ # . cdist-config -[ $# -ge 3 ] || __cdist_usage " [manifest arguments]" -set -ux +[ $# -eq 3 ] || __cdist_usage " " +set -u __cdist_target_host="$1"; shift __cdist_manifest="$1"; shift