diff options
author | Jonathan Bauer | 2018-02-13 16:36:03 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-13 16:36:03 +0100 |
commit | 19d5bdfc47aeb84c3e464885262d43a2fd3fd35b (patch) | |
tree | 1b6479385db34d83b895a7fde51ba8027f14300c /core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes | |
parent | [vbox-src] add Oracle extension pack (diff) | |
download | mltk-19d5bdfc47aeb84c3e464885262d43a2fd3fd35b.tar.gz mltk-19d5bdfc47aeb84c3e464885262d43a2fd3fd35b.tar.xz mltk-19d5bdfc47aeb84c3e464885262d43a2fd3fd35b.zip |
[run-virt] relax /tmp mount detection regex
Diffstat (limited to 'core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes')
-rw-r--r-- | core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/init_core.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/init_core.inc b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/init_core.inc index 95e90ebf..b3bc1cdf 100644 --- a/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/init_core.inc +++ b/core/modules/run-virt/data/opt/openslx/vmchooser/run-virt-includes/init_core.inc @@ -35,7 +35,7 @@ fi # This variable is empty (but set!) if no hard drive was mounted on /tmp # else it will be non-empty (check with helper function 'notempty'). declare -g TMP_ON_HDD= -if grep -q -E '^/dev/\S+\s/tmp' '/proc/mounts'; then +if ! grep -q -E '\s+/tmp\s+tmpfs\s+' '/proc/mounts'; then writelog "Hard drive partition mounted on /tmp" TMP_ON_HDD=1 readonly TMP_ON_HDD |