From 2345d6509bc8ba2000c4d88d27f6976c04345325 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 29 Mar 2011 21:20:07 +0200 Subject: [PATCH] add missing function call to __cdist_usage Signed-off-by: Steven Armstrong --- bin/cdist-type-emulator | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/cdist-type-emulator b/bin/cdist-type-emulator index b3ed1f3d..d0464533 100755 --- a/bin/cdist-type-emulator +++ b/bin/cdist-type-emulator @@ -25,7 +25,7 @@ # . cdist-config -set -eu +set -u ################################################################################ # Prepare object and type @@ -137,7 +137,7 @@ cd "$__cdist_parameter_dir" for parameter in $(ls -1); do is_valid=$(grep "^$parameter\$" "$__cdist_tmp_file") - [ "$is_valid" ] || "Unknown parameter $parameter" + [ "$is_valid" ] || __cdist_usage "Unknown parameter $parameter" done ################################################################################