From nobody Sun Jul 14 13:52:51 2024 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WMRc404JLz5Qfn6 for ; Sun, 14 Jul 2024 13:52:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WMRc358v2z41fF for ; Sun, 14 Jul 2024 13:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720965171; a=rsa-sha256; cv=none; b=plvitfnxR4TwWu2zb6Eet8G1P8vHianwF2HZ7rGytf2ng9lnn2CxFWj52zo3TjupZI2a+v BBxukp8T1PqHy79vGjrg0Df0H/h79Y0kvx/lXJSHtM3FD0ZTNybNSMMuIBijkp6ZMzjqBD h1YJI2Rv9YJ4EpAJIlQeCUlZ9W1nuoQ9H544FBvZwyOjLt9yQf68QeIJ8IwuWuRKrabbe5 h89T0pfgB1M6qursK7chuwppXI/93p43eMTJdo/bY1muq6hHTWfXliuTxgP7xRlLx0bnQ3 F3yN20TeUGMYcRiBqWPy0MhgdNXkukAnQhEhu48S63u+zg72mKMsfCGQhwIhZA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720965171; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=56HzLsMB4VtaHSkV2agqgpi4Fy807MDW3chbbrjJJ2E=; b=fxzMYNbWwVCV65eJ4P4tEQTxCtrKhxwROKxf69TI/kiNX565tQIOAfdaYkLXhSS3bh+hLj FN6zujZct8Omv0FAehfBpNOUzoI/Vv0gv7693cMLUzww2S05znFErFAPd2pe46JU+WMcpP 7rhJ6BM5LDkmvKTgczErr67SoeFpTRlt8f9F1qMYBsPsXGNGiSDbnwzQguA4iWhxx6HzBa 0wKI6rPyAkPa6rGrIPy90ty9Jpk1NcvvhrizuzpCnogVQoc/aGua216W3uhhmLM3FUrKDv IlLbu59GstlamJ3m8J5J8c2zcdtjsv6pfM+62ShFhHbYfut5ari0h825CMtJMw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WMRc34mKHz1Bfy for ; Sun, 14 Jul 2024 13:52:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46EDqp9F037137 for ; Sun, 14 Jul 2024 13:52:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46EDqpek037136 for pkg@FreeBSD.org; Sun, 14 Jul 2024 13:52:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 280275] ports-mgmt/pkg: Wrong exit code in periodic script 490.status-pkg-changes Date: Sun, 14 Jul 2024 13:52:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: andrestoebe@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280275 Andre Stoebe changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #252044|0 |1 is obsolete| | --- Comment #3 from Andre Stoebe --- Created attachment 252045 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252045&action= =3Dedit Second revised patch for 490.status-pkg-changes Or even like this... probably best, because it doesn't overwrite the exit c= ode of pkg in case of error and both files being the same (for whatever reason). Sorry for the spam. I'll stop now. --- /usr/local/etc/periodic/daily/490.status-pkg-changes 2024-05-23 03:05:49.000000000 +0200 +++ 490.status-pkg-changes 2024-07-14 15:48:05.890146000 +0200 @@ -23,6 +23,7 @@ if [ $? -eq 1 ]; then diff -U 0 $bak/${bak_file}2 $bak/${bak_file} | \ grep '^[-+][^-+]' | sort -k 1.2 + rc=3D1 fi return $rc --=20 You are receiving this mail because: You are the assignee for the bug.=