aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 377d733c7..77ec672d9 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -397,7 +397,7 @@ sub init_serverpidfile_hash {
sub checkdied {
use POSIX ":sys_wait_h";
my $pid = $_[0];
- if(not defined $pid || $pid <= 0) {
+ if((not defined $pid) || $pid <= 0) {
return 0;
}
my $rc = waitpid($pid, &WNOHANG);