diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-10-02 12:43:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-10-02 12:43:55 +0000 |
commit | a58f1382a473284d4f8991d4e3eba00272147cca (patch) | |
tree | df7ad198ba5919a1ed73aae7e3c0c21e59a0ff13 /mdkapplet | |
parent | 99a55b636d4f66de3602f36bcb3b23bc7ab63a89 (diff) | |
download | mgaonline-a58f1382a473284d4f8991d4e3eba00272147cca.tar mgaonline-a58f1382a473284d4f8991d4e3eba00272147cca.tar.gz mgaonline-a58f1382a473284d4f8991d4e3eba00272147cca.tar.bz2 mgaonline-a58f1382a473284d4f8991d4e3eba00272147cca.tar.xz mgaonline-a58f1382a473284d4f8991d4e3eba00272147cca.zip |
(is_there_a_new_distributions) prevent SIGCHILD handler's waitpid to
interfere with urpmi waiting for curl (which was messing up with urpmi
trying to get curl exit code)
Kudo pixel!!!
Diffstat (limited to 'mdkapplet')
-rwxr-xr-x | mdkapplet | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -263,6 +263,11 @@ sub is_there_a_new_distributions() { my @lines = eval { my $urpm = Rpmdrake::open_db::fast_open_urpmi_db(); + + # prevent SIGCHILD handler's waitpid to interfere with urpmi waiting + # for curl exit code, which broke downloads: + local $SIG{CHLD} = 'DEFAULT'; + if (member($product_id->{version}, qw(2007.1 2008.0 2008.1))) { require mdkapplet_urpm; mdkapplet_urpm::ensure_valid_cachedir($urpm); |