bootmisc: do not run the clean_run function in an LXC container
This commit is contained in:
parent
faaaab4bf5
commit
7b744befac
@ -117,7 +117,7 @@ migrate_to_run()
|
|||||||
|
|
||||||
clean_run()
|
clean_run()
|
||||||
{
|
{
|
||||||
[ "$RC_SYS" = VSERVER ] && return 0
|
[ "$RC_SYS" = VSERVER -o "$RC_SYS" = LXC ] && return 0
|
||||||
local dir
|
local dir
|
||||||
dir=$(mktemp -d)
|
dir=$(mktemp -d)
|
||||||
mount --bind / $dir
|
mount --bind / $dir
|
||||||
|
Loading…
Reference in New Issue
Block a user