summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
Diffstat (limited to 'rescue')
-rw-r--r--rescue/NEWS3
-rwxr-xr-xrescue/bin/lsparts1
2 files changed, 4 insertions, 0 deletions
diff --git a/rescue/NEWS b/rescue/NEWS
index 66b1a8cd0..459f6cf61 100644
--- a/rescue/NEWS
+++ b/rescue/NEWS
@@ -1,3 +1,6 @@
+- lsparts (mga#8854):
+ o silent run_program
+
Version 1.51 - 15 April 2015 by Thierry Vignaud
- fix reinstalling grub2 on UEFI (mga#15695)
diff --git a/rescue/bin/lsparts b/rescue/bin/lsparts
index 8d36a02f4..690437fb0 100755
--- a/rescue/bin/lsparts
+++ b/rescue/bin/lsparts
@@ -38,6 +38,7 @@ foreach (fs::proc_partitions::read_raw()) {
print STDERR "$err\n" if $verbose;
} else {
$_->{device} = $_->{dev};
+ local $::isStandalone = 1; # silent run_program
if (my $type = fs::type::type_subpart_from_magic($_)) {
printf "$_->{dev}: %6s, fs %s (%s)\n", formatXiB($_->{size} * 512), $type->{fs_type}, fs::type::part2type_name($type);
}