aboutsummaryrefslogtreecommitdiffstats
path: root/transfugdrake.pm
diff options
context:
space:
mode:
authorChristian Belisle <cbelisle@mandriva.com>2002-01-15 15:39:56 +0000
committerChristian Belisle <cbelisle@mandriva.com>2002-01-15 15:39:56 +0000
commit21088001d6ccc5a77995225d7342248ec48bec86 (patch)
treea7e25df3262aba0975dae6335eae0c6c52c8d4e9 /transfugdrake.pm
parentfe63beb8d256c0f37f9d1aeb6ef397de598005f0 (diff)
downloadtransfugdrake-21088001d6ccc5a77995225d7342248ec48bec86.tar
transfugdrake-21088001d6ccc5a77995225d7342248ec48bec86.tar.gz
transfugdrake-21088001d6ccc5a77995225d7342248ec48bec86.tar.bz2
transfugdrake-21088001d6ccc5a77995225d7342248ec48bec86.tar.xz
transfugdrake-21088001d6ccc5a77995225d7342248ec48bec86.zip
show an error if no windows partition found
Diffstat (limited to 'transfugdrake.pm')
-rw-r--r--transfugdrake.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/transfugdrake.pm b/transfugdrake.pm
index ff4278e..f1bf368 100644
--- a/transfugdrake.pm
+++ b/transfugdrake.pm
@@ -102,6 +102,7 @@ sub get_windows_partition {
or quit_global($in, 0);
if($fat_parts[1] eq "") { $in->ask_warn(_("Your Windows Partition"), _("$fat_parts[0] is found as your Windows partition")); }
+ if($win_part eq "") { $in->ask_warn(_("No Windows Partition"), _("No Windows Partition found")); quit_global($in, 0); }
if($win_part =~ /NTFS/) { $fstype = "ntfs"; }
elsif($win_part =~ /FAT32/) {$fstype = "msdos"; }
elsif($win_part =~ /FAT/) {$fstype = "msdos"; }