summaryrefslogtreecommitdiff
path: root/sh/vpn
diff options
context:
space:
mode:
Diffstat (limited to 'sh/vpn')
-rwxr-xr-xsh/vpn2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/vpn b/sh/vpn
index eb3f1cf..b313ffc 100755
--- a/sh/vpn
+++ b/sh/vpn
@@ -2,7 +2,7 @@
# toggle VPN
down_not_master () {
- git -C "$HOME/programs/config_local_arch" branch | awk '!/pp/{print ($1=="*")?$2:$1}' | while read -r v; do
+ git -C "$HOME/programs/config_local_arch" branch | awk '!/master/{print ($1=="*")?$2:$1}' | while read -r v; do
nmcli connection down "wg_$v"
done
}