]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix comments
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 21 Apr 2007 09:10:08 +0000 (09:10 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 21 Apr 2007 09:10:08 +0000 (09:10 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4578 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/runscript.c

index 1390af1edf77aff7d8fa641ebde1d607d5c476ce..871de9ebbf92529926843dafda9851efe23b9370 100644 (file)
@@ -107,7 +107,7 @@ int run_scripts(JCR *jcr, alist *runscripts, const char *label)
 
    int when;
 
-   if (strstr(label, "Before")) {
+   if (strstr(label, NT_("Before"))) {
       when = SCRIPT_Before;
    } else {
       when = SCRIPT_After;
@@ -200,7 +200,7 @@ void RUNSCRIPT::set_command(const POOLMEM *cmd)
 /* set this->target to client_name */
 void RUNSCRIPT::set_target(const POOLMEM *client_name)
 {
-   Dmsg1(500, "runscript: setting target\n", NPRT(client_name));
+   Dmsg1(500, "runscript: setting target = %s\n", NPRT(client_name));
 
    if (!client_name) {
       return;