Skip to content

Commit c0d9fb3

Browse files
committed
Merge branch 'develop' of https://github.com/reframe-hpc/reframe into feat/maint_nodes
2 parents 08dbe18 + a71c68b commit c0d9fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reframe/core/schedulers/pbs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def _query_exit_code(self, job):
205205
# With PBS Pro we can obtain the exit status of a past job
206206
extended_info = osext.run_command(f'qstat -xf {job.jobid}')
207207
exit_status_match = re.search(
208-
r'^ *Exit_status *= *(?P<exit_status>\d+)', extended_info.stdout,
208+
r'^ *Exit_status *= *(?P<exit_status>-?\d+)', extended_info.stdout,
209209
flags=re.MULTILINE,
210210
)
211211
if exit_status_match:

0 commit comments

Comments
 (0)