summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/resize_ext2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/diskdrake/resize_ext2.pm')
-rw-r--r--perl-install/diskdrake/resize_ext2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/resize_ext2.pm b/perl-install/diskdrake/resize_ext2.pm
index 008b2977c..9bf113f90 100644
--- a/perl-install/diskdrake/resize_ext2.pm
+++ b/perl-install/diskdrake/resize_ext2.pm
@@ -31,7 +31,7 @@ sub resize {
my $s = int($size / ($o->{block_size} / 512));
log::l("resize2fs $o->{dev} to size $s in block of $o->{block_size} bytes");
- run_program::run_or_die("resize2fs", "-pf", $o->{dev}, $s);
+ run_program::raw({ timeout => 60 * 60 }, "resize2fs", "-pf", $o->{dev}, $s) or die "resize2fs failed";
}
1;