summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/proc_partitions.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2015-04-23 21:28:42 +0000
committerPascal Terjan <pterjan@gmail.com>2015-04-26 13:52:40 +0000
commitc9deb0b888f4f2da8d85abc79fbfa70c6122ff65 (patch)
tree72da754d6a87ffe74d10abe116940f62789af0c7 /perl-install/fs/proc_partitions.pm
parent4d96b2f9737c5f1eaa16f276738be6355d5dd392 (diff)
downloaddrakx-c9deb0b888f4f2da8d85abc79fbfa70c6122ff65.tar
drakx-c9deb0b888f4f2da8d85abc79fbfa70c6122ff65.tar.gz
drakx-c9deb0b888f4f2da8d85abc79fbfa70c6122ff65.tar.bz2
drakx-c9deb0b888f4f2da8d85abc79fbfa70c6122ff65.tar.xz
drakx-c9deb0b888f4f2da8d85abc79fbfa70c6122ff65.zip
Do not die if /proc/partitions knows more than us
Diffstat (limited to 'perl-install/fs/proc_partitions.pm')
-rw-r--r--perl-install/fs/proc_partitions.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/proc_partitions.pm b/perl-install/fs/proc_partitions.pm
index 990e8ce31..d88c231b0 100644
--- a/perl-install/fs/proc_partitions.pm
+++ b/perl-install/fs/proc_partitions.pm
@@ -60,7 +60,7 @@ sub compare {
if (find { $_->{pt_type} == 0xbf } @l1) {
log::l("not using /proc/partitions because of the presence of solaris extended partition"); #- cf #33866
} else {
- die sprintf(
+ printf(
"/proc/partitions does not agree with drakx %d != %d:\n%s\n", $len1, $len2,
"/proc/partitions: " . join(", ", map { "$_->{device} ($_->{rootDevice})" } @l2));
}