diff options
-rw-r--r-- | perl-install/diskdrake/resize_ext2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/resize_ext2.pm b/perl-install/diskdrake/resize_ext2.pm index 2eb9347dd..f7d6c3735 100644 --- a/perl-install/diskdrake/resize_ext2.pm +++ b/perl-install/diskdrake/resize_ext2.pm @@ -36,7 +36,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("resize2fs", "-pf", $o->{dev}, $s); + run_program::run_or_die("resize2fs", "-pf", $o->{dev}, $s); } 1; |