diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-07-31 17:44:25 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-08-03 11:14:01 +0200 |
commit | f7b2e5eec5ba1fa5f26694e6555a98cab0594a27 (patch) | |
tree | 93ea504da80e1c71f9e727065b7f94c0dd16be57 /ctdb | |
parent | 33d012c3cebb5625e02450ac3b08c4245a3e985d (diff) | |
download | samba-f7b2e5eec5ba1fa5f26694e6555a98cab0594a27.tar.gz |
ctdb-eventd: Fix CID 1438155
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13554
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Aug 3 11:14:01 CEST 2018 on sn-devel-144
Diffstat (limited to 'ctdb')
-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); |