summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-14 15:34:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-14 15:34:00 +0000
commitb22b536ece5f5aee7d247f0f6d9444a5626d73c5 (patch)
treec51120143dc4233ff2263489f184db16ff4d7ef4
parent782a90aa6fe638844e0dc2512f530dbc29e611fe (diff)
downloaddrakx-b22b536ece5f5aee7d247f0f6d9444a5626d73c5.tar
drakx-b22b536ece5f5aee7d247f0f6d9444a5626d73c5.tar.gz
drakx-b22b536ece5f5aee7d247f0f6d9444a5626d73c5.tar.bz2
drakx-b22b536ece5f5aee7d247f0f6d9444a5626d73c5.tar.xz
drakx-b22b536ece5f5aee7d247f0f6d9444a5626d73c5.zip
don't succeed if resize2fs failed
-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 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;