Skip to content

Commit

Permalink
Update advanced/Scripts/utils.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Dan Schaper <dan.schaper@pi-hole.net>
  • Loading branch information
PromoFaux and dschaper committed Mar 16, 2022
1 parent 48138d3 commit b4efb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion advanced/Scripts/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ addOrEditKeyValPair() {
local file

# If two arguments have been passed, then the second one is the file - there is no value
if [ $# -lt 3 ]; then
if [[ $# -lt 3 ]]; then
file="${2}"
else
value="${2}"
Expand Down

0 comments on commit b4efb36

Please sign in to comment.