Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 67776cb1 authored by Charles Steinkuehler's avatar Charles Steinkuehler Committed by Robert Nelson
Browse files

chroot.sh: Clean out /tmp (#94)


Delete any files in the chroot /tmp/ directory before exiting.

Signed-off-by: default avatarCharles Steinkuehler <charles@steinkuehler.net>
parent 6c803db0
No related merge requests found
...@@ -1192,6 +1192,9 @@ cat > "${DIR}/cleanup_script.sh" <<-__EOF__ ...@@ -1192,6 +1192,9 @@ cat > "${DIR}/cleanup_script.sh" <<-__EOF__
# if [ -d /run/ ] ; then # if [ -d /run/ ] ; then
# rm -rf /run/* || true # rm -rf /run/* || true
# fi # fi
# Clear out the /tmp directory
rm -rf /tmp/* || true
} }
cleanup cleanup
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment