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 else
__cdist_exit_err "$code exists, but is not a file." __cdist_exit_err "$code exists, but is not a file."
fi fi
else
__cdist_echo info "No code-${__cdist_code_type}"
fi fi