Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Nov 12, 2024
1 parent b0b0055 commit 33a6d5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/include/settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function parse_settings_line() {
return
fi
done
settings_err "unkown setting '$(tput bold)$sett$(tput sgr0)'"
settings_err "unknown setting '$(tput bold)$sett$(tput sgr0)'"
exit 1
}

Expand All @@ -145,7 +145,7 @@ function parse_settings_cmd() {
then
echo "$(tput bold)[settings]$(tput sgr0) $*"
else
settings_err "unkown command '$(tput bold)$cmd$(tput sgr0)'"
settings_err "unknown command '$(tput bold)$cmd$(tput sgr0)'"
exit 1
fi
}
Expand Down Expand Up @@ -202,7 +202,7 @@ function check_var_new() {
# this is a bit hacky
# but since we not not parse our self we have to guess the current line_num
line_num="$(grep -n "^$sett=" "$current_settings_file" | cut -d':' -f1)"
settings_err "unkown setting '$(tput bold)$sett$(tput sgr0)'"
settings_err "unknown setting '$(tput bold)$sett$(tput sgr0)'"
exit 1
}

Expand Down
2 changes: 1 addition & 1 deletion lib/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ do
echo "[*] record ring buffer"
w_tcpdump "-w \"${CAPPATH}/${PORT}_\" -W 5 -C 5000 \"port $PORT\""
else
echo "unkown arg '$arg' see --help"
echo "unknown arg '$arg' see --help"
exit 1
fi
done
Expand Down

0 comments on commit 33a6d5a

Please sign in to comment.