diff options
Diffstat (limited to 'core/modules/run-virt')
-rw-r--r-- | core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc index dcaa0d58..7a8dad60 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/vmchooser_runvirt_functions.inc @@ -485,7 +485,8 @@ dir_on_tmpfs() { # NG: check if / is fully backed by hard drive local dmsetup_conf="/run/openslx/dmsetup.conf" if [ -s "$dmsetup_conf" ]; then - return grep -qE '^/dev/mapper/root\s+/\s+type=0' "$dmsetup_conf" + grep -qE '^/dev/mapper/root\s+/\s+type=0' "$dmsetup_conf" + return $? fi # else assume old-gen were / was in RAM return 0 |