Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/zrml/ccontainermain
Browse files Browse the repository at this point in the history
refresh local
  • Loading branch information
zrml committed May 7, 2018
2 parents 8718532 + e0a353a commit 13ef25e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dockerfile/Caché+SSH/ccontrol-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

# Work around a werid overlayfs bug where files don't open properly if they haven't been
# touched first - see the yum-ovl plugin for a similar workaround
if [ "${1,,}" == "start" ]; then
df / | grep -q overlay
filesystemIsOverlay=$?

if [ "${1,,}" == "start" ] && [ $filesystemIsOverlay -eq 0 ]; then
find / -name CACHE.DAT -exec touch {} \;
fi

Expand Down

0 comments on commit 13ef25e

Please sign in to comment.