Skip to content

Commit 33a6d5a

Browse files
committed
Fix typo
1 parent b0b0055 commit 33a6d5a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/include/settings.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function parse_settings_line() {
125125
return
126126
fi
127127
done
128-
settings_err "unkown setting '$(tput bold)$sett$(tput sgr0)'"
128+
settings_err "unknown setting '$(tput bold)$sett$(tput sgr0)'"
129129
exit 1
130130
}
131131

@@ -145,7 +145,7 @@ function parse_settings_cmd() {
145145
then
146146
echo "$(tput bold)[settings]$(tput sgr0) $*"
147147
else
148-
settings_err "unkown command '$(tput bold)$cmd$(tput sgr0)'"
148+
settings_err "unknown command '$(tput bold)$cmd$(tput sgr0)'"
149149
exit 1
150150
fi
151151
}
@@ -202,7 +202,7 @@ function check_var_new() {
202202
# this is a bit hacky
203203
# but since we not not parse our self we have to guess the current line_num
204204
line_num="$(grep -n "^$sett=" "$current_settings_file" | cut -d':' -f1)"
205-
settings_err "unkown setting '$(tput bold)$sett$(tput sgr0)'"
205+
settings_err "unknown setting '$(tput bold)$sett$(tput sgr0)'"
206206
exit 1
207207
}
208208

lib/network.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ do
120120
echo "[*] record ring buffer"
121121
w_tcpdump "-w \"${CAPPATH}/${PORT}_\" -W 5 -C 5000 \"port $PORT\""
122122
else
123-
echo "unkown arg '$arg' see --help"
123+
echo "unknown arg '$arg' see --help"
124124
exit 1
125125
fi
126126
done

0 commit comments

Comments
 (0)