From 0faf159d3bac6f3f6246e6ef0034cd9d526ea291 Mon Sep 17 00:00:00 2001 From: Christian Belisle Date: Tue, 15 Jan 2002 13:32:36 +0000 Subject: mount function now stable --- transfugdrake.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'transfugdrake.pm') 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 { -- cgit v1.2.1