ctdb-common: Ignore event scripts with multiple '.'s
authorAmitay Isaacs <amitay@gmail.com>
Thu, 12 Oct 2017 03:42:59 +0000 (14:42 +1100)
committerMartin Schwenke <martins@samba.org>
Wed, 18 Oct 2017 04:20:18 +0000 (06:20 +0200)
commit7720ca0729b127a93d78401aaf1341d79f9603a4
tree9ef99c60accf17e739ef08bfc183d2953166e62c
parentf6d6af3b2d5efcd160c1e5e09778fb1129530be0
ctdb-common: Ignore event scripts with multiple '.'s

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13070

This avoids running event script copies left by a package manager.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/common/run_event.c
ctdb/config/events.d/README