IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 23, 2007, 10:47:53 AM (19 years ago)
Author:
eugene
Message:

adding JOB_HOSTNAME

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/CheckJobs.c

    r12840 r13486  
    8787        set_variable ("JOB_DTIME", job[0].dtime);
    8888
     89        if (job[0].realhost == NULL) {
     90          set_str_variable ("JOB_HOSTNAME", job[0].realhost);
     91        } else {
     92          set_str_variable ("JOB_HOSTNAME", job[0].realhost);
     93        }           
     94
    8995        if (status == JOB_CRASH) {
    9096          /* XXX add an Ncrash element? */
Note: See TracChangeset for help on using the changeset viewer.