aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 11:38:09 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:25:23 +0100
commitc13827622b6aeaaa15da948f71b7c16288fe88a9 (patch)
tree2e58aaaad1988fc69710be8bf7e73515e38cacf9 /src
parentglobal: use fewer BUG_ONs (diff)
downloadwireguard-monolithic-historical-c13827622b6aeaaa15da948f71b7c16288fe88a9.tar.xz
wireguard-monolithic-historical-c13827622b6aeaaa15da948f71b7c16288fe88a9.zip
wg-quick: allow for the hatchet, but not by default
Diffstat (limited to 'src')
-rwxr-xr-xsrc/tools/wg-quick.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/wg-quick.bash b/src/tools/wg-quick.bash
index b98a18b..17fe672 100755
--- a/src/tools/wg-quick.bash
+++ b/src/tools/wg-quick.bash
@@ -264,6 +264,8 @@ cmd_down() {
execute_hooks "${POST_DOWN[@]}"
}
+# ~~ function override insertion point ~~
+
if [[ $# -eq 1 && ( $1 == --help || $1 == -h || $1 == help ) ]]; then
cmd_usage
elif [[ $# -eq 2 && $1 == up ]]; then