summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 cf44be56b..6dc68a1a4 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -447,7 +447,7 @@ sub set_default_options {
});
}
if (isThisFs('smbfs', $part)) {
- add2hash_($options, { 'username=' => '%' });
+ add2hash($options, { 'username=' => '%' }) if !$options->{'credentials='};
}
if (isFat($part) || $is_auto) {