diff --git a/src/plugins/jobacct_gather/aix/jobacct_gather_aix.c b/src/plugins/jobacct_gather/aix/jobacct_gather_aix.c index c0b4671f4ca6149cec219e70b63fb3a3764411fe..6593fd6ed7815125dcdcd598d5d402a61f31d15d 100644 --- a/src/plugins/jobacct_gather/aix/jobacct_gather_aix.c +++ b/src/plugins/jobacct_gather/aix/jobacct_gather_aix.c @@ -304,7 +304,7 @@ static void *_watch_tasks(void *arg) { while(!jobacct_shutdown) { /* Do this until shutdown is requested */ - if(!suspended) { + if(!jobacct_suspended) { _get_process_data(); /* Update the data */ } sleep(freq);