From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cnYdd3tnWz2yrL for ; Thu, 16 Oct 2025 16:42:13 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cnYdd3bGnz2xMF for ; Thu, 16 Oct 2025 16:42:13 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "people01.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cnYdc52ysz3W for ; Thu, 16 Oct 2025 16:42:12 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1760632932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=84BoTWXySJnlxkfFXNy/nMEtZdNdDZrn003c1yMfEow=; b=036LizX1OiJerXn49fmI0Z8q0BsnZSLycgQWOF+t5c8fc3SaXPPwMqXChCHPqq/4ay1gbB 7z5baFimNwsR5PAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1760632932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=84BoTWXySJnlxkfFXNy/nMEtZdNdDZrn003c1yMfEow=; b=gb+xCQJmLOoEixLox7irfeZA2tH2VbCmnj9qWt0F0qFgz8MN8UZRFlShuVxaa9ic6In+6o fHWPWHuzjcs90i6O0D85M18NLl62aRLhPNiOv+C/YKAhULu4DdZJibgz2APwqpidXV+sLy bkUxhbNyOUqu35kFt9uqWhEVQVQc1c6Dj6m4gsQgUXasdgzfY0s70XA5OoQti1GQ6JCj8B CTF6ULR7n5faZjt5ZFHdE+qT1KG9dOxmb0HHPhTHw7d/fK0d6ysrRUGj1l0jE1UQVUQppa k6INy+cC/nRx9b1IT+f7KpLaDmUZURu9/7L3I3/yXgRkl3uKb0LYJ61lEFSRyw== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4cnYdc2rfgz2xhX; Thu, 16 Oct 2025 16:42:12 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. d451f131ff19cc090d78712adc9309dd5bed2990 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f1e4331fa76b628c91057aca8e501c87de90283b X-Git-Newrev: d451f131ff19cc090d78712adc9309dd5bed2990 Message-Id: <4cnYdc2rfgz2xhX@people01.haj.ipfire.org> Date: Thu, 16 Oct 2025 16:42:12 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, master has been updated via d451f131ff19cc090d78712adc9309dd5bed2990 (commit) from f1e4331fa76b628c91057aca8e501c87de90283b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d451f131ff19cc090d78712adc9309dd5bed2990 Author: Michael Tremer Date: Thu Oct 16 18:40:08 2025 +0200 general-functions.pl: Read output first before we wait for the process to terminate When generating IPS reports, the reporter could not write to the output, therefore blocked and the CGI script timed out. Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/cfgroot/general-functions.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Difference in files: diff --git a/config/cfgroot/general-functions.pl b/config/cfgroot/general-functions.pl index 94d0e7440..1c3374d86 100644 --- a/config/cfgroot/general-functions.pl +++ b/config/cfgroot/general-functions.pl @@ -66,13 +66,13 @@ sub system_output($) { die "Could not execute @command: $!"; } - waitpid($pid, 0); - while () { push(@output, $_); } close(OUTPUT); + waitpid($pid, 0); + return @output; } hooks/post-receive -- IPFire 2.x development tree