diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:28:40 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:28:40 +0000 |
commit | 0e26a5303353d5e60e33a1cbf130f99c80e0f089 (patch) | |
tree | 864e02f47fffbda606df54945450dc026ef1b8b9 /perl-install/fs | |
parent | 5a3d221209e027b0150382b61c9f5e76c9d551f4 (diff) | |
download | drakx-backup-do-not-use-0e26a5303353d5e60e33a1cbf130f99c80e0f089.tar drakx-backup-do-not-use-0e26a5303353d5e60e33a1cbf130f99c80e0f089.tar.gz drakx-backup-do-not-use-0e26a5303353d5e60e33a1cbf130f99c80e0f089.tar.bz2 drakx-backup-do-not-use-0e26a5303353d5e60e33a1cbf130f99c80e0f089.tar.xz drakx-backup-do-not-use-0e26a5303353d5e60e33a1cbf130f99c80e0f089.zip |
(call_blkid) use newly introduced get_stdout_raw() to reduce blkid
timeout to 30 seconds (mga#5979)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/type.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/type.pm b/perl-install/fs/type.pm index 6318e6804..528804655 100644 --- a/perl-install/fs/type.pm +++ b/perl-install/fs/type.pm @@ -273,7 +273,7 @@ sub call_blkid { my %h = map { if_(/(.*?)=(.*)/, $1 => $2); - } run_program::get_stdout('blkid', '2>', '/dev/null', '-o', 'udev', '-p', devices::make($part->{device})); + } run_program::get_stdout_raw({ timeout => 30 }, 'blkid', '2>', '/dev/null', '-o', 'udev', '-p', devices::make($part->{device})); \%h; } |