-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christian König <ckoenig@posteo.de>
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
MichaIng
|
||
padd_out_of_date_flag="true" | ||
padd_version_heatmap=${red_text} | ||
else | ||
|
@@ -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 | ||
|
Actually such nested quotes are correct/reasonable inside of command substitutions, now the nested command is prune to word spitting and globbing. shellcheck should also complain about missing quoting now.