Skip to content

Commit

Permalink
Do not nest quotes
Browse files Browse the repository at this point in the history
Signed-off-by: Christian König <ckoenig@posteo.de>
  • Loading branch information
yubiuser committed Jul 4, 2022
1 parent 067fac8 commit 28b0479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion padd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ GetVersionInformation() {
if [ "${padd_version_latest}" = "" ]; then
padd_version_heatmap=${yellow_text}
else
if [ "$(VersionConverter "${padd_version}")" -lt "$(VersionConverter "${padd_version_latest}")" ]; then
if [ "$(VersionConverter ${padd_version})" -lt "$(VersionConverter "${padd_version_latest}")" ]; then
padd_out_of_date_flag="true"
padd_version_heatmap=${red_text}
else
Expand All @@ -555,6 +555,7 @@ GetVersionInformation() {
fi
fi


# was any portion of Pi-hole out-of-date?
# yes, pi-hole is out of date
if [ "${out_of_date_flag}" = "true" ]; then
Expand Down

0 comments on commit 28b0479

Please sign in to comment.