We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents beaa281 + b8bbfbe commit e0a353aCopy full SHA for e0a353a
dockerfile/Caché+SSH/ccontrol-wrapper.sh
@@ -2,7 +2,10 @@
2
3
# Work around a werid overlayfs bug where files don't open properly if they haven't been
4
# touched first - see the yum-ovl plugin for a similar workaround
5
-if [ "${1,,}" == "start" ]; then
+df / | grep -q overlay
6
+filesystemIsOverlay=$?
7
+
8
+if [ "${1,,}" == "start" ] && [ $filesystemIsOverlay -eq 0 ]; then
9
find / -name CACHE.DAT -exec touch {} \;
10
fi
11
0 commit comments