Skip to content
Snippets Groups Projects
Commit eb54f70d authored by Danny Auble's avatar Danny Auble
Browse files

check for more commandline issues

parent ba950965
No related branches found
No related tags found
No related merge requests found
......@@ -71,11 +71,16 @@ extern void get_job()
if (error_code) {
if (quiet_flag != 1) {
mvwprintw(ba_system_ptr->text_win,
ba_system_ptr->ycord, 1,
"slurm_load_job: %s",
slurm_strerror(slurm_get_errno()));
ba_system_ptr->ycord++;
if(!params.commandline) {
mvwprintw(ba_system_ptr->text_win,
ba_system_ptr->ycord, 1,
"slurm_load_job: %s",
slurm_strerror(slurm_get_errno()));
ba_system_ptr->ycord++;
} else {
printf("slurm_load_job: %s\n",
slurm_strerror(slurm_get_errno()));
}
}
}
......@@ -169,7 +174,8 @@ extern void get_job()
if (params.commandline && params.iterate)
printf("\n");
ba_system_ptr->ycord++;
if(!params.commandline)
ba_system_ptr->ycord++;
job_info_ptr = new_job_ptr;
return;
......
......@@ -711,8 +711,6 @@ static int _print_text_part(partition_info_t *part_ptr,
printf("%5s ", tmp_cnt);
tempxcord = ba_system_ptr->xcord;
if (params.display == BGPART)
nodes = part_ptr->allow_groups;
else
......
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