summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2014-07-09 14:20:15 +0200
committerJonathan Bauer2014-07-09 14:20:15 +0200
commit5c316e4e330f6861339309e0e9e9b395d505e8a6 (patch)
tree5f2defb1ab2d749ec2e065389e2da46f9f278c61 /remote
parent[openstack] remove old workaround for openvswitch (diff)
downloadtm-scripts-5c316e4e330f6861339309e0e9e9b395d505e8a6.tar.gz
tm-scripts-5c316e4e330f6861339309e0e9e9b395d505e8a6.tar.xz
tm-scripts-5c316e4e330f6861339309e0e9e9b395d505e8a6.zip
[chroot.inc] perror if chmod'ing the chroot's autoexec script
Diffstat (limited to 'remote')
-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() {