From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4b9KvV34s4z30Gr for ; Sun, 1 Jun 2025 15:02:14 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4b9KvV2qTtz2xSN for ; Sun, 1 Jun 2025 15:02:14 +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) client-signature ECDSA (secp384r1)) (Client CN "people01.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4b9KvT4fppzJg for ; Sun, 1 Jun 2025 15:02:13 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1748790133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=jhsm+BfPglKfvs4xLSN1lMlR5rs/fw7G5DKg6niP8bM=; b=adrVzYtoRzmSsO7K9IqABQl8bnNuObph5uk4mqgYehFILUZ2H1SEZRTJ3awRP9FeY+kTce Q6MNkZ4BONt1SbCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1748790133; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=jhsm+BfPglKfvs4xLSN1lMlR5rs/fw7G5DKg6niP8bM=; b=IWvoN2LFZGkEl26L3GQWA0NFOOCgjBcKevc0gh+V6KQIKAxpe+twHfwGw9ouP9xVqQUHvF ep8mM7+czp0eIYo2rJo6OUHtldfFrl52tx5sy6AGGUKIDjlImARuZ4pUb2eI1a44THqNfa GdQ2QzgE0gRzSsZKC7EIgEP9jsiepcA/C1fZktIWTS0Xn6e2kD44rvr3Y4z3JGOOm1nRVJ ZOQgmJajm8Dth7IoymawaLcQKpr+EkWuEFwQ9WqJ45Q4Ij1HSWYmdSk2PfO+NBsWbKIjI7 YLtlMzu3oj5std/npvf+40/uG0QDGG2nDujCHrWKAneF/xrWmFpXFL5V1I62yA== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4b9KvT3Pjjz2xhX; Sun, 1 Jun 2025 15:02:13 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 27ec6f7860da27d046ddeb33809eba897b0766e7 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 9ef726eeb272104656baf3c38eca75c4dc5bea10 X-Git-Newrev: 27ec6f7860da27d046ddeb33809eba897b0766e7 Message-Id: <4b9KvT3Pjjz2xhX@people01.haj.ipfire.org> Date: Sun, 1 Jun 2025 15:02:13 +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 27ec6f7860da27d046ddeb33809eba897b0766e7 (commit) from 9ef726eeb272104656baf3c38eca75c4dc5bea10 (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 27ec6f7860da27d046ddeb33809eba897b0766e7 Author: Michael Tremer Date: Sun Jun 1 17:00:51 2025 +0200 wireguard: Don't try to delete any interfaces that don't exist When the WireGuard interfaces are being destroyed, we are using some globbing to identify the right interfaces. If there are no interfaces the globbing string does not match anything and is returned itself. To avoid an error when trying to delete an interface that never existed, we configure the shell to never expand empty globbings. Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: src/initscripts/system/wireguard | 2 ++ 1 file changed, 2 insertions(+) Difference in files: diff --git a/src/initscripts/system/wireguard b/src/initscripts/system/wireguard index 7decce223..00862743b 100644 --- a/src/initscripts/system/wireguard +++ b/src/initscripts/system/wireguard @@ -19,6 +19,8 @@ # # ############################################################################### +shopt -s nullglob + . /etc/sysconfig/rc . ${rc_functions} . /etc/rc.d/init.d/networking/functions.network hooks/post-receive -- IPFire 2.x development tree