From nobody Fri Dec 16 15:13:47 2022 X-Original-To: dev-commits-src-main@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 4NYXgJ1fsBz1CXhx; Fri, 16 Dec 2022 15:13:48 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NYXgJ1D07z3DRW; Fri, 16 Dec 2022 15:13:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671203628; 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; bh=mhne6/TJjGRbkCu3HUFmu14i4wvoPlOAAgl3nYopp3A=; b=rVHfAyr56k5ICy/m4sLdPSbryMm8TuKBnGxid4DaQxHZhCp7X7ECWFKbOrc0zqqjXi2zbY YcmPh0ApI/5QFTqoHRttQWnx/Nxm3P0RFl4HsEUsCtHo0br7whcQ8yCXvZsZeaoXCI+59r MmgSU5ULo4Mi6CHqBZgi7aVmuPphFbe6RqmahEH8sj1B9mmW46KoB09azaNDnRn1O5R0Ig y7VhkLKFy/VyNWlKjyCb3qdcaEBM9DUzEz+JyFGOTZggPs+YP7C8eL5hfjYQq4wy9OH6dn HoyyiqUk8sFAWvEj4gj9IT6Bg6ZXXEa95mZuwsHSL7e/IHYEax+iTaHlzJBN/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671203628; 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; bh=mhne6/TJjGRbkCu3HUFmu14i4wvoPlOAAgl3nYopp3A=; b=ow6qsVRmPcxKW5pANiJtqsaEdsq/cK350/yHVLKZsd1KjafIqWMK3PuDgY/0B1EnbfRIBT k5tqo1wgF9vRDRh1RLQhOjnRDK1mN9yLvx1+yKts0OW3eutnPdNrqKzwAAWl4LqVCov4BF 89AF7J+dbU9fwj9eUX0z/Kf6Q/5aBdJ+NZZluBoAHlC1OVWHTi+sIk4jSFLqtGCQzP3JQ1 v6gdjXTDtqX4GTX2DsD+FKPzIDCpPPUd6BkSXPgYYAcd5wnooGwAqEBDfUzYTVSsyV8eTC AL8kjP9Ow3Hd2HeeASMzpQOoqzv/h2BI+EKEFSjcTfcZxzwxI5/g02AFEIG9Yw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671203628; a=rsa-sha256; cv=none; b=sLOQPwHks1wFMxy6KR1G1x5H8elz04vEaJ4LmMWRrxDF3k4rprzoARtVWsGwR6Csh5NDPl SaSZ9oyyooSbiuKOYkL5N3uhX6Jy+svkSjRfA+H/kLS2Ep8bavTEgEs0JfP6sIeGktAq8Q JgQ5NCXLdZXinuXAcSBjJ/jh/8N57sgB6vI+x/BOPhy46NbjAsGawVNvRwJr4KGW97hrj6 gMqCIK0/mIj5MK4Wk0Aj3oxmMwcRAyxvpUfawXAO3maUzvbJ5hEom+MRgNuX9eDhPPKxBK O4mnn9bF49iRCs+nM3t/kMEgGXpwkZ1IBJLf1krE/AytR2qpSvfAMKkXKJ2pnw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4NYXgJ0K93zHfY; Fri, 16 Dec 2022 15:13:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BGFDlbm070152; Fri, 16 Dec 2022 15:13:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BGFDl7H070151; Fri, 16 Dec 2022 15:13:47 GMT (envelope-from git) Date: Fri, 16 Dec 2022 15:13:47 GMT Message-Id: <202212161513.2BGFDl7H070151@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mike Karels Subject: git: 38d2b4db7853 - main - daily 440.status-mailq: avoid error from dma with submit queue List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: karels X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 38d2b4db7853ecfb87b40e83a9b9de9985c2fdc1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by karels: URL: https://cgit.FreeBSD.org/src/commit/?id=38d2b4db7853ecfb87b40e83a9b9de9985c2fdc1 commit 38d2b4db7853ecfb87b40e83a9b9de9985c2fdc1 Author: Mike Karels AuthorDate: 2022-12-16 15:13:31 +0000 Commit: Mike Karels CommitDate: 2022-12-16 15:13:31 +0000 daily 440.status-mailq: avoid error from dma with submit queue dma(8) supports mailq, but not mailq -Ac to print the submission queue. Don't try to print that queue from the daily script if mailq -Ac returns an error. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D37713 --- usr.sbin/periodic/etc/daily/440.status-mailq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/periodic/etc/daily/440.status-mailq b/usr.sbin/periodic/etc/daily/440.status-mailq index 515f9f42ead9..80f2ada21a3b 100755 --- a/usr.sbin/periodic/etc/daily/440.status-mailq +++ b/usr.sbin/periodic/etc/daily/440.status-mailq @@ -38,7 +38,7 @@ case "$daily_status_mailq_enable" in case "$daily_status_include_submit_mailq" in [Yy][Ee][Ss]) - if [ -f /etc/mail/submit.cf ] + if [ -f /etc/mail/submit.cf ] && mailq -Ac >/dev/null 2>&1 then echo "" echo "Mail in submit queue:"