Don't use negative exit codes

This commit is contained in:
Kamil Śliwak 2020-12-12 01:26:11 +01:00
parent dbfd3db038
commit 4e3ebda0f4

View File

@ -27,7 +27,7 @@ TESTED=0
if [ "$(ls | wc -l)" -ne 0 ]; then if [ "$(ls | wc -l)" -ne 0 ]; then
echo "Test directory not empty. Skipping!" echo "Test directory not empty. Skipping!"
exit -1 exit 1
fi fi
# function tests whether exporting and importing again leaves the JSON ast unchanged # function tests whether exporting and importing again leaves the JSON ast unchanged