From 4e3ebda0f429328f32dba228c14bdebe587f7bce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Sat, 12 Dec 2020 01:26:11 +0100 Subject: [PATCH] Don't use negative exit codes --- scripts/ASTImportTest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ASTImportTest.sh b/scripts/ASTImportTest.sh index e69aa65b3..b03e11286 100755 --- a/scripts/ASTImportTest.sh +++ b/scripts/ASTImportTest.sh @@ -27,7 +27,7 @@ TESTED=0 if [ "$(ls | wc -l)" -ne 0 ]; then echo "Test directory not empty. Skipping!" - exit -1 + exit 1 fi # function tests whether exporting and importing again leaves the JSON ast unchanged