From f63d2751372f1f40ebc1466c20231c9031176e30 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 11 Jul 2025 02:09:23 +0200 Subject: [PATCH] test1140.pl: try fixing warning ``` Possible precedence issue with control flow operator (exit) at ../../tests/test1140.pl line 119. ``` https://github.com/curl/curl/actions/runs/16208581789/job/45764191709?pr=17877#step:16:1886 --- tests/test1140.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test1140.pl b/tests/test1140.pl index 2a4e1e9d9d..6a85a1d4c3 100755 --- a/tests/test1140.pl +++ b/tests/test1140.pl @@ -116,4 +116,4 @@ foreach my $f (@f) { print "OK\n" if(!$errors); -exit $errors?1:0; +exit ($errors ? 1 : 0);