Skip to content

Commit

Permalink
Convert some tabs to spaces in END
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Jan 9, 2023
1 parent cc6be07 commit ed955e3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions starcheck/src/starcheck.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1170,16 +1170,16 @@ END

# If the Python process id is defined, kill that process and wait
if (defined $pid) {
if ($par{verbose} gt 1){
my $server_calls = call_python("get_server_calls");
# print the server_calls hash sorted by value in descending order
print("Python server calls:");
print Dumper($server_calls);
}
if ($par{verbose} gt 1){
print("Shutting down python starcheck server with pid=$pid\n");
}
kill 9, $pid; # must it be 9 (SIGKILL)?
if ($par{verbose} gt 1){
my $server_calls = call_python("get_server_calls");
# print the server_calls hash sorted by value in descending order
print("Python server calls:");
print Dumper($server_calls);
}
if ($par{verbose} gt 1){
print("Shutting down python starcheck server with pid=$pid\n");
}
kill 9, $pid; # must it be 9 (SIGKILL)?
my $gone_pid = waitpid $pid, 0; # then check that it's gone
}
exit($exit_status);
Expand Down

0 comments on commit ed955e3

Please sign in to comment.