summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/commands.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index d5e2fedab..8b0492786 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -71,7 +71,7 @@ sub mount {
" (if /dev/ is left off the device name, a temporary node will be created)\n";
my ($dev, $where) = @_;
- $fs ||= $where =~ /:/ ? "nfs" :
+ $fs ||= $dev =~ /:/ ? "nfs" :
$dev =~ /fd/ ? "vfat" : "ext2";
require fs;