From 95ce60637ca36956d43f0719ba10b0d8de5a0148 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 14 Jun 2011 01:08:52 +0200 Subject: [PATCH] enhance for use as function cdist-deploy-to localhost 1.38s user 1.28s system 69% cpu 3.842 total Signed-off-by: Nico Schottelius --- core/__cdist_object_prepare | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/__cdist_object_prepare b/core/__cdist_object_prepare index edb38e12..e2c682b1 100755 --- a/core/__cdist_object_prepare +++ b/core/__cdist_object_prepare @@ -27,9 +27,7 @@ __cdist_object_prepare() { [ $# -eq 1 ] || __cdist_usage "" - set -eu - __cdist_target_host="$1"; shift __cdist_object_self="$1"; shift __cdist_object_dir="$(__cdist_object_dir "$__cdist_object_self")" [ -d "$__cdist_object_dir" ] || __cdist_exit_err "Object undefined"