diff options
| author | Martin Schwenke <martin@meltin.net> | 2014-03-07 14:07:17 +1100 |
|---|---|---|
| committer | Amitay Isaacs <amitay@samba.org> | 2014-03-26 04:21:42 +0100 |
| commit | 8a3be1f1a979b8058cf7754632d60ab52d066d5c (patch) | |
| tree | 30832e269a5548f0a2517d8e0730c6825be1caf7 /python | |
| parent | e22a22b1f72f75507941b5652bb9a0a2f42dd22f (diff) | |
| download | samba-8a3be1f1a979b8058cf7754632d60ab52d066d5c.tar.gz samba-8a3be1f1a979b8058cf7754632d60ab52d066d5c.tar.xz samba-8a3be1f1a979b8058cf7754632d60ab52d066d5c.zip | |
ctdb-eventscripts: Improve check in NATGW "startup" event
Although the dots in $CTDB_NATGW_PUBLIC_IP could probably only help
match an invalid public IP address, this is only executed once so do
as exact a check as possible.
Use CTDB_BASE instead of hardcoding /etc/ctdb.
Make the error message less redundant.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
