src/dird/admin.c
bool do_admin(JCR *jcr)
{

   jcr->jr.JobId = jcr->JobId;

   jcr->fname = (char *)get_pool_memory(PM_FNAME);

   /* Print Job Start message */
   Jmsg(jcr, M_INFO, 0, _("Start Admin JobId %d, Job=%s\n"),
        jcr->JobId, jcr->Job);

   jcr->setJobStatus(JS_Running);
   admin_cleanup(jcr, JS_Terminated);
   return true;
}
/*
 *  Returns:  false on failure
 *            true  on success
 */
false on failure
true  on success
false on failure true on success
bool do_admin(JCR *jcr)
{
   jcr->jr.JobId = jcr->JobId;
   jcr->fname = (char *)get_pool_memory(PM_FNAME);
   Jmsg(jcr, M_INFO, 0, _("Start Admin JobId %d, Job=%s\n"),
        jcr->JobId, jcr->Job);
   jcr->setJobStatus(JS_Running);
   admin_cleanup(jcr, JS_Terminated);
   return true;
}
bool do_admin ( JCR * jcr ) { jcr -> jr . JobId = jcr -> JobId ; jcr -> fname = ( char * ) get_pool_memory ( PM_FNAME ) ; Jmsg ( jcr , M_INFO , 0 , _ ( " \n " ) , jcr -> JobId , jcr -> Job ) ; jcr -> setJobStatus ( JS_Running ) ; admin_cleanup ( jcr , JS_Terminated ) ; return true ; }
Returns:  false on failure
            true  on success
Returns : false on failure true on success
/* Print Job Start message */