diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index d44c3476afe..5ad5d1aadee 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -6433,7 +6433,6 @@ int main(int argc, const char *argv[]) DEBUG(DEBUG_ERR, ("Can't specify node(s) with \"ctdb %s\"\n", control)); exit(1); } - close(2); return ctdb_commands[i].fn(NULL, extra_argc-1, extra_argv+1); }