]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
badwords-all: exit with correct code on errors
authorDaniel Stenberg <daniel@haxx.se>
Mon, 16 Mar 2026 09:37:54 +0000 (10:37 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 16 Mar 2026 10:01:48 +0000 (11:01 +0100)
Problems remain undetected in CI otherwise

Closes #20934

scripts/badwords-all

index e426263d9adbb4bacace69b276eba191a9c49cb4..27beba2596ad7787f3d92c09bbd0bb1d2297a1f7 100755 (executable)
@@ -10,4 +10,4 @@ use File::Basename;
 
 chdir dirname(__FILE__) . "/..";
 
-system("scripts/badwords '**.md' projects/OS400/README.OS400 src lib include docs/examples < scripts/badwords.txt");
+exit system("scripts/badwords '**.md' projects/OS400/README.OS400 src lib include docs/examples < scripts/badwords.txt") >> 8;