1
0
mirror of https://github.com/Prowlarr/Indexers.git synced 2026-05-08 08:58:39 +01:00

revert validation fail to ne 0

This commit is contained in:
ilike2burnthing
2022-08-20 01:06:18 +01:00
committed by Qstick
parent dd316ff765
commit df5491d6b6
+2 -2
View File
@@ -17,12 +17,12 @@ for dir in $(find definitions -type d -name "v*"); do
ajv test -d "$dir/*.yml" -s "$schema" --valid --all-errors -c ajv-formats
if [ "$?" -eq 1 ]; then
if [ "$?" -ne 0 ]; then
fail=1
fi
done
if [ "$fail" -eq 1 ]; then
if [ "$fail" -ne 0 ]; then
echo "Failed"
exit 1
fi