bootmisc: do not run the clean_run function in an LXC container

This commit is contained in:
William Hubbs 2014-08-10 17:15:05 -05:00
parent faaaab4bf5
commit 7b744befac

View File

@ -117,7 +117,7 @@ migrate_to_run()
clean_run()
{
[ "$RC_SYS" = VSERVER ] && return 0
[ "$RC_SYS" = VSERVER -o "$RC_SYS" = LXC ] && return 0
local dir
dir=$(mktemp -d)
mount --bind / $dir