fail, if source is not existing

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.0
Nico Schottelius 14 years ago
parent f90d37d4bc
commit d4fac09518
  1. 3
      conf/type/__file/gencode

@ -79,6 +79,9 @@ case "$type" in
# Probably describe it in cdist-quickstart...
scp "$source" "root@${__target_host}:${destination}"
fi
else
echo "Source \"$source\" does not exist." >&2
exit 1
fi
else
if [ no = "$(cat "$__object/explorer/exists")" ]; then

Loading…
Cancel
Save