We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1ac650 commit fdf835cCopy full SHA for fdf835c
tunn
@@ -1,4 +1,5 @@
1
#!/bin/bash
2
+# shellcheck disable=SC2223
3
4
# helper functions
5
@@ -125,7 +126,7 @@ tunn_kill() {
125
126
127
# defaults
128
TUNN_LISTFILE=~/.tunnlist
-: "${TUNN_CONFIG:=~/.tunnconfig}"
129
+: ${TUNN_CONFIG:=~/.tunnconfig}
130
TUNN_SOCKETNAME=""
131
TUNN_DEST=""
132
TUNN_UNCLEAN=""
@@ -135,11 +136,11 @@ if [ -e "$TUNN_CONFIG" ]; then
135
136
# shellcheck source=/dev/null
137
source "$TUNN_CONFIG"
138
fi
-: "${TUNN_PREFIX:=~/.tsock}"
139
+: ${TUNN_PREFIX:=~/.tsock}
140
UTMP=$(id -u)
141
UTMP=${UTMP:0-3}
-: "${TUNN_PORT:=8${UTMP}}"
142
-: "${TUNN_VERBOSE:=false}"
+: ${TUNN_PORT:=8${UTMP}}
143
+: ${TUNN_VERBOSE:=false}
144
145
declare -A TUNN_INVERT
146
TUNN_INVERT[true]=false
0 commit comments