diff options
-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 |