Fixed rsync_path bug & set -e