]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix FD DisableCommands
authorKern Sibbald <kern@sibbald.com>
Wed, 6 Jan 2016 09:45:46 +0000 (10:45 +0100)
committerKern Sibbald <kern@sibbald.com>
Wed, 6 Jan 2016 09:47:46 +0000 (10:47 +0100)
bacula/src/filed/filed.c

index 85ab0237f3c6b9b31a4889f7806327952ecdbb0f..677d1721909799533f7d0663ec78ae4c586d36c0 100644 (file)
@@ -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) {