summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remote/includes/chroot.inc2
1 files changed, 1 insertions, 1 deletions
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() {