ctdb-eventscripts: Don't check if $iface is empty
authorMartin Schwenke <martin@meltin.net>
Thu, 27 Mar 2014 05:31:54 +0000 (16:31 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 5 May 2014 01:55:08 +0000 (03:55 +0200)
commitbe71a84565e9e7532a77c175732b764d1f42c1cd
treeae8e6b04c71043510eec302d75937da0e3a76aeb
parent2995b934409700061a729f5d50dca18f19260d37
ctdb-eventscripts: Don't check if $iface is empty

This is the loop variable.  It can't be empty, especially given the
way the list is built.  This must have survived from an earlier
version of the script.

Given that there are whitespace changes associated with the above,
clean-up the "virtio_net" avoidance check so that it reads less like
line-noise.

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