diff options
Diffstat (limited to 'ctdb/event/event_tool.c')
-rw-r--r-- | ctdb/event/event_tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/event/event_tool.c b/ctdb/event/event_tool.c index 4768c678b13..f18deb8d5b1 100644 --- a/ctdb/event/event_tool.c +++ b/ctdb/event/event_tool.c @@ -320,7 +320,7 @@ static int event_command_script_list(TALLOC_CTX *mem_ctx, subdir = talloc_asprintf(mem_ctx, "events/%s", argv[0]); if (subdir == NULL) { - ret = ENOMEM; + return ENOMEM; } data_dir = path_datadir_append(mem_ctx, subdir); |