We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1782571 commit 0d95711Copy full SHA for 0d95711
src/test/kerberos/t/001_auth.pl
@@ -180,7 +180,12 @@
180
181
END
182
{
183
- kill 'INT', `cat $kdc_pidfile` if -f $kdc_pidfile;
+ # take care not to change the script's exit value
184
+ my $exit_code = $?;
185
+
186
+ kill 'INT', `cat $kdc_pidfile` if defined($kdc_pidfile) && -f $kdc_pidfile;
187
188
+ $? = $exit_code;
189
}
190
191
note "setting up PostgreSQL instance";
src/test/ldap/t/001_auth.pl
@@ -147,7 +147,12 @@
147
148
149
150
151
152
153
kill 'INT', `cat $slapd_pidfile` if -f $slapd_pidfile;
154
155
156
157
158
append_to_file($ldap_pwfile, $ldap_rootpw);
0 commit comments