From 5c316e4e330f6861339309e0e9e9b395d505e8a6 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 9 Jul 2014 14:20:15 +0200 Subject: [chroot.inc] perror if chmod'ing the chroot's autoexec script --- remote/includes/chroot.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/includes/chroot.inc b/remote/includes/chroot.inc index 2e0eabfe..4a8a350f 100644 --- a/remote/includes/chroot.inc +++ b/remote/includes/chroot.inc @@ -91,7 +91,7 @@ chroot_gen_autoexec() { cat >> "${CHROOT_MOUNTDIR}/autoexec.bat" # make it executable - chmod +x "${CHROOT_MOUNTDIR}/autoexec.bat" + chmod +x "${CHROOT_MOUNTDIR}/autoexec.bat" || perror "Failed to make '${CHROOT_MOUNTDIR}/autoexec.bat' exeutable." } chroot_handle_whiteouts() { -- cgit v1.2.3-55-g7522