forked from ungleich-public/cdist
add missing function call to __cdist_usage
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
fb426bd412
commit
2345d6509b
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
. cdist-config
|
. cdist-config
|
||||||
set -eu
|
set -u
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Prepare object and type
|
# Prepare object and type
|
||||||
|
@ -137,7 +137,7 @@ cd "$__cdist_parameter_dir"
|
||||||
for parameter in $(ls -1); do
|
for parameter in $(ls -1); do
|
||||||
is_valid=$(grep "^$parameter\$" "$__cdist_tmp_file")
|
is_valid=$(grep "^$parameter\$" "$__cdist_tmp_file")
|
||||||
|
|
||||||
[ "$is_valid" ] || "Unknown parameter $parameter"
|
[ "$is_valid" ] || __cdist_usage "Unknown parameter $parameter"
|
||||||
done
|
done
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in a new issue