allow no code in cdist-code-run

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-04-28 15:21:35 +02:00
parent 49ebb77ab3
commit ac157aa442

View file

@ -47,6 +47,4 @@ if [ -e "$code" ]; then
else
__cdist_exit_err "$code exists, but is not a file."
fi
else
__cdist_echo info "No code-${__cdist_code_type}"
fi