[PATCH] raise error on rsync failure (#868755)