From cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 5 Mar 2008 20:49:07 +0000 Subject: do not timeout after 10 minutes when resizing NTFS partition --- perl-install/diskdrake/resize_ntfs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake') diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm index ab99ce627..c6364fec6 100644 --- a/perl-install/diskdrake/resize_ntfs.pm +++ b/perl-install/diskdrake/resize_ntfs.pm @@ -30,7 +30,7 @@ sub resize { my @l = ('-ff', '-s' . int($size / 2) . 'ki', $o->{dev}); my $r; run_program::run('ntfsresize', '>', \$r, '-n', @l) or die "ntfsresize failed: $r\n"; - run_program::run('ntfsresize', '>', \$r, @l) or die "ntfsresize failed: $r\n"; + run_program::raw({ timeout => 'never' }, 'ntfsresize', '>', \$r, @l) or die "ntfsresize failed: $r\n"; } 1; -- cgit v1.2.1