Skip to content

Commit

Permalink
Remove unused variable $sub
Browse files Browse the repository at this point in the history
shellcheck complains.
  • Loading branch information
DemiMarie committed Jan 7, 2022
1 parent fa66724 commit 0633d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/vif-route-qubes
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0633d1a

Please sign in to comment.