From: Eric Bollengier Date: Mon, 5 Feb 2007 14:23:39 +0000 (+0000) Subject: ebl fix #766 on RunsOnClient = Yes X-Git-Tag: Release-7.0.0~6954 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=efa2983f938e80e2eed7ac10fe76d5b29cffcaf9;p=bacula%2Fbacula ebl fix #766 on RunsOnClient = Yes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4104 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/dird_conf.c b/bacula/src/dird/dird_conf.c index b32c412208..5494f0eca3 100644 --- a/bacula/src/dird/dird_conf.c +++ b/bacula/src/dird/dird_conf.c @@ -1608,9 +1608,9 @@ static void store_runscript_target(LEX *lc, RES_ITEM *item, int index, int pass) if (pass == 2) { if (strcmp(lc->str, "%c") == 0) { ((RUNSCRIPT*) item->value)->set_target(lc->str); - } else if (strcmp(lc->str, "yes") == 0) { + } else if (strcasecmp(lc->str, "yes") == 0) { ((RUNSCRIPT*) item->value)->set_target("%c"); - } else if (strcmp(lc->str, "no") == 0) { + } else if (strcasecmp(lc->str, "no") == 0) { ((RUNSCRIPT*) item->value)->set_target(""); } else { RES *res = GetResWithName(R_CLIENT, lc->str);