]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/fd_cmds.c
kes Fix %g in filename returned by SQL for browse tree reported by
[bacula/bacula] / bacula / src / dird / fd_cmds.c
index c2ed3bb75dc466c317abe81f30e1f3cb76d29598..2e9e3e50148f4e4cd2c78b4dfdf15b71fa829020 100644 (file)
@@ -568,7 +568,7 @@ int send_runscripts_commands(JCR *jcr)
       }        
    } 
 
-   /* We tell to the FD that i can execute commands (ie ClientRunBeforeJob) */
+   /* Tell the FD to execute the ClientRunBeforeJob */
    if (launch_before_cmd) {
       bnet_fsend(fd, runbeforenow);
       if (!response(jcr, fd, OKRunBeforeNow, "RunBeforeNow", DISPLAY_ERROR)) {
@@ -580,10 +580,10 @@ int send_runscripts_commands(JCR *jcr)
    return 1;
 
 bail_out:
+   Jmsg(jcr, M_FATAL, 0, _("Client \"%s\" RunScript failed.\n"), ehost);
    free_pool_memory(msg);
    free_pool_memory(ehost);
    return 0;
-    
 }