Skip to content

Commit

Permalink
Merge pull request kata-containers#273 from devimc/topic/removeLogs
Browse files Browse the repository at this point in the history
rootfs-builder: remove /var/log
  • Loading branch information
jodh-intel authored Apr 29, 2019
2 parents d5fbd1c + c00849b commit 24dbcbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs-builder/rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ fi
build_rootfs ${ROOTFS_DIR}
pushd "${ROOTFS_DIR}" >> /dev/null
if [ "$PWD" != "/" ] ; then
rm -rf ./var/cache/ ./var/lib
rm -rf ./var/cache/ ./var/lib ./var/log
fi
popd >> /dev/null

Expand Down

0 comments on commit 24dbcbe

Please sign in to comment.