From 0633d1a77cd61cfbe65ff9b6a6450e00a3cbde82 Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Tue, 21 Dec 2021 21:29:09 -0500 Subject: [PATCH] Remove unused variable $sub shellcheck complains. --- network/vif-route-qubes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/vif-route-qubes b/network/vif-route-qubes index ffb7b157e..8f9c890d4 100755 --- a/network/vif-route-qubes +++ b/network/vif-route-qubes @@ -102,7 +102,7 @@ if ! [[ $vif =~ ^vif(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$ ]]; then exit 1 fi -domid=${BASH_REMATCH[1]} sub=${BASH_REMATCH[2]} +domid=${BASH_REMATCH[1]} # metric must be positive, but prefer later interface # 32752 is max XID aka domid