ctdb-cluster-mutex: Ensure that the configured command is not empty
authorMartin Schwenke <martin@meltin.net>
Fri, 7 Jun 2019 20:56:00 +0000 (06:56 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 5 Jul 2019 05:03:23 +0000 (05:03 +0000)
commit4c24d434b9610e2865f8288e8046588cd8c551e6
tree83b5a8ea92fba5300a7269babb1b6c094d2c9969
parent9c75ad68189b258de1224f99b4f1a07409ec4084
ctdb-cluster-mutex: Ensure that the configured command is not empty

... and does not just contain whitespace.

Otherwise NULL can be passed as the first argument to execv().

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_cluster_mutex.c