summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/resize_ntfs.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-05 20:49:07 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-05 20:49:07 +0000
commitcc5f83a12d817f8d34c8b7e75aa49f395d6d95b6 (patch)
tree78ae0da4b0e5e31f238834762d81ad9edff032e1 /perl-install/diskdrake/resize_ntfs.pm
parent597121740527fc087b0b82c2efc7c7827d32eac0 (diff)
downloaddrakx-cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6.tar
drakx-cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6.tar.gz
drakx-cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6.tar.bz2
drakx-cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6.tar.xz
drakx-cc5f83a12d817f8d34c8b7e75aa49f395d6d95b6.zip
do not timeout after 10 minutes when resizing NTFS partition
Diffstat (limited to 'perl-install/diskdrake/resize_ntfs.pm')
-rw-r--r--perl-install/diskdrake/resize_ntfs.pm2
1 files changed, 1 insertions, 1 deletions
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;