summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index f50418ede..753ef8b0a 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -453,7 +453,7 @@ sub set_default_options {
put_in_hash($options, {
user => 1, noexec => 0,
- }) if !exists $part->{rootDevice}; # partition means no removable media
+ }) if $is_removable;
put_in_hash($options, {
'umask=0' => $security < 3, 'iocharset=' => $iocharset, 'codepage=' => $codepage,