diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 11:38:09 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-10-31 17:25:23 +0100 |
commit | c13827622b6aeaaa15da948f71b7c16288fe88a9 (patch) | |
tree | 2e58aaaad1988fc69710be8bf7e73515e38cacf9 /src/tools/wg-quick.bash | |
parent | global: use fewer BUG_ONs (diff) | |
download | wireguard-monolithic-historical-c13827622b6aeaaa15da948f71b7c16288fe88a9.tar.xz wireguard-monolithic-historical-c13827622b6aeaaa15da948f71b7c16288fe88a9.zip |
wg-quick: allow for the hatchet, but not by default
Diffstat (limited to 'src/tools/wg-quick.bash')
-rwxr-xr-x | src/tools/wg-quick.bash | 2 |
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 |