It's mostly harmless, but let's fix it for consistency
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
err=0
log() {
- if [ "$0" = "ok" ] && [ "$err" = 0 ]; then
+ if [ "$1" = "ok" ] && [ "$err" = 0 ]; then
err=0
elif [ "$1" = "warn" ] && [ "$err" -lt 1 ]; then
err=1
[ Adam D. Barratt ]
* dsa-check-soas: fix variable scoping
* Add check_clamav_signatures.
+ * dsa-check-config: fix typo in log check for "OK" statuses.
[ Julien Cristau ]
* port dsa-check-statusfile and dsa-check-memory to python3