From db5215d6b59c5ca259012f695f6bda5d5bc56d68 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 6 Jan 2016 10:45:46 +0100 Subject: [PATCH] Fix FD DisableCommands --- bacula/src/filed/filed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/filed/filed.c b/bacula/src/filed/filed.c index 85ab0237f3..677d172190 100644 --- a/bacula/src/filed/filed.c +++ b/bacula/src/filed/filed.c @@ -543,7 +543,7 @@ static bool check_resources() /* Construct disabled command array */ for (i=0; cmds[i].cmd; i++) { } /* Count commands */ - if (me->disable_cmds) { + if (director->disable_cmds) { director->disabled_cmds_array = (bool *)malloc(i); memset(director->disabled_cmds_array, 0, i); foreach_alist(cmd, director->disable_cmds) { -- 2.39.5