summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-12-04 14:28:57 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-12-04 14:28:57 +0000
commitb58bf2aaae855cabd9115dd98f9b482c0d472a8f (patch)
tree7504d408738e8c7e1e76288ff244f1f5fb58fa42
parent50fddc63b76c0d6df11ddcccb1a8ae031b983e16 (diff)
downloaddrakx-backup-do-not-use-b58bf2aaae855cabd9115dd98f9b482c0d472a8f.tar
drakx-backup-do-not-use-b58bf2aaae855cabd9115dd98f9b482c0d472a8f.tar.gz
drakx-backup-do-not-use-b58bf2aaae855cabd9115dd98f9b482c0d472a8f.tar.bz2
drakx-backup-do-not-use-b58bf2aaae855cabd9115dd98f9b482c0d472a8f.tar.xz
drakx-backup-do-not-use-b58bf2aaae855cabd9115dd98f9b482c0d472a8f.zip
simplify noauto
-rw-r--r--move/move.pm2
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});
}