From: Eric Bollengier Date: Sat, 21 Apr 2007 09:10:08 +0000 (+0000) Subject: ebl fix comments X-Git-Tag: Release-7.0.0~6550 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0780f8b2748b565b51a3642cb919756ab585273a;p=bacula%2Fbacula ebl fix comments git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4578 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/lib/runscript.c b/bacula/src/lib/runscript.c index 1390af1edf..871de9ebbf 100644 --- a/bacula/src/lib/runscript.c +++ b/bacula/src/lib/runscript.c @@ -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;