aboutsummaryrefslogtreecommitdiffstats
path: root/transfugdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'transfugdrake.pm')
-rw-r--r--transfugdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/transfugdrake.pm b/transfugdrake.pm
index 3217fc5..ff4278e 100644
--- a/transfugdrake.pm
+++ b/transfugdrake.pm
@@ -123,8 +123,8 @@ sub mount_partition {
foreach (@mounts) {
@tmp = split(' ', $_);
- print "$tmp[0]\n";
if($tmp[0] eq $win_partition) { $mounted = 1; }
+ $mountpoint = $tmp[1];
}
if(!$mounted) {
@@ -152,7 +152,7 @@ sub get_windows_config {
# Find where the documents are
# If possible, get some registry config
- return %config;
+ return ($config->{partition}, $config->{fstype}, $config->{mountpoint});
}
sub get_linux_config {