add missing function call to __cdist_usage

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/1.5
Steven Armstrong 14 years ago
parent fb426bd412
commit 2345d6509b
  1. 4
      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
################################################################################

Loading…
Cancel
Save