diff options
-rw-r--r-- | move/move.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm index f16716858..02ce9ec1f 100644 --- a/move/move.pm +++ b/move/move.pm @@ -585,7 +585,7 @@ sub install2::startMove { foreach (fsedit::get_really_all_fstab($o->{all_hds})) { if (isSwap($_)) { eval { swap::swapon($_->{device}) }; - } elsif ($_->{mntpoint} && !$_->{isMounted} && $_->{options} !~ /\bnoauto\b/) { + } elsif ($_->{mntpoint} && !$_->{isMounted} && !$::noauto) { mkdir_p($_->{mntpoint}); run_program::run('mount', $_->{mntpoint}); } |