summaryrefslogtreecommitdiffstats
path: root/rescue/bin/lsparts
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-04-30 10:01:59 -0400
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-04-30 21:26:54 +0200
commit3154df3a3cd6b944964c1dc30d99c8e3fd763135 (patch)
tree046fa6ffb448a173e0e7c38984a0ba759d420b87 /rescue/bin/lsparts
parent1c0dead7c823cf9a34f7c1cdb0585bedc208159c (diff)
downloaddrakx-3154df3a3cd6b944964c1dc30d99c8e3fd763135.tar
drakx-3154df3a3cd6b944964c1dc30d99c8e3fd763135.tar.gz
drakx-3154df3a3cd6b944964c1dc30d99c8e3fd763135.tar.bz2
drakx-3154df3a3cd6b944964c1dc30d99c8e3fd763135.tar.xz
drakx-3154df3a3cd6b944964c1dc30d99c8e3fd763135.zip
silent run_program (mga#8854)
Diffstat (limited to 'rescue/bin/lsparts')
-rwxr-xr-xrescue/bin/lsparts1
1 files changed, 1 insertions, 0 deletions
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);
}