Skip to content

Commit fdf835c

Browse files
committed
fix incorrect quoting
1 parent d1ac650 commit fdf835c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tunn

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# shellcheck disable=SC2223
23

34
# helper functions
45

@@ -125,7 +126,7 @@ tunn_kill() {
125126

126127
# defaults
127128
TUNN_LISTFILE=~/.tunnlist
128-
: "${TUNN_CONFIG:=~/.tunnconfig}"
129+
: ${TUNN_CONFIG:=~/.tunnconfig}
129130
TUNN_SOCKETNAME=""
130131
TUNN_DEST=""
131132
TUNN_UNCLEAN=""
@@ -135,11 +136,11 @@ if [ -e "$TUNN_CONFIG" ]; then
135136
# shellcheck source=/dev/null
136137
source "$TUNN_CONFIG"
137138
fi
138-
: "${TUNN_PREFIX:=~/.tsock}"
139+
: ${TUNN_PREFIX:=~/.tsock}
139140
UTMP=$(id -u)
140141
UTMP=${UTMP:0-3}
141-
: "${TUNN_PORT:=8${UTMP}}"
142-
: "${TUNN_VERBOSE:=false}"
142+
: ${TUNN_PORT:=8${UTMP}}
143+
: ${TUNN_VERBOSE:=false}
143144

144145
declare -A TUNN_INVERT
145146
TUNN_INVERT[true]=false

0 commit comments

Comments
 (0)