Skip to content
Snippets Groups Projects
Commit 0525c8f5 authored by David Bigagli's avatar David Bigagli
Browse files

Correct scancel to print message when running with --verbose option.

parent f0c9d8ae
No related branches found
No related tags found
No related merge requests found
......@@ -742,6 +742,8 @@ _signal_job_by_str(void)
if (opt.signal == (uint16_t) - 1)
opt.signal = SIGKILL;
verbose("Terminating job %s", opt.job_list);
cc = slurm_kill_job2(opt.job_list, opt.signal, 0);
if ((cc != SLURM_SUCCESS) && (opt.verbose != -1)) {
error("slurm_kill_job2() failed %s", slurm_strerror(errno));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment