Skip to content

Commit 13ef25e

Browse files
committed
Merge branch 'master' of https://github.com/zrml/ccontainermain
refresh local
2 parents 8718532 + e0a353a commit 13ef25e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dockerfile/Caché+SSH/ccontrol-wrapper.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
# Work around a werid overlayfs bug where files don't open properly if they haven't been
44
# touched first - see the yum-ovl plugin for a similar workaround
5-
if [ "${1,,}" == "start" ]; then
5+
df / | grep -q overlay
6+
filesystemIsOverlay=$?
7+
8+
if [ "${1,,}" == "start" ] && [ $filesystemIsOverlay -eq 0 ]; then
69
find / -name CACHE.DAT -exec touch {} \;
710
fi
811

0 commit comments

Comments
 (0)