From f0bbf52aa3b4da5feaee0ba9d977fab9bf04e2a5 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 5 Feb 2007 14:33:50 +0000 Subject: [PATCH] ebl fix #766 (allow RunsOnClient = Yes) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.0@4105 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/dird_conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2