if (!start_storage_daemon_job(jcr, jcr->storage, NULL)) {
return false;
}
+ if (!bnet_fsend(jcr->store_bsock, "run")) {
+ return false;
+ }
/*
* Now start a Storage daemon message thread
*/
}
Dmsg0(50, "Storage daemon connection OK\n");
- if (!bnet_fsend(jcr->store_bsock, "run")) {
- return false;
- }
}
/*
* OK, now connect to the File daemon
return false;
}
- if (!send_run_before_and_after_commands(jcr)) {
+ if (!send_runscripts_commands(jcr)) {
return false;
}