bootmisc: do not run clean_run on VSERVER systems

X-Gentoo-Bug: 489370
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489370
This commit is contained in:
William Hubbs 2013-10-28 15:21:50 -05:00
parent 9238d94d64
commit 579838d2e7

View File

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