From: Ronnie Sahlberg Date: Thu, 22 Apr 2010 04:22:46 +0000 (+1000) Subject: add a missing || X-Git-Tag: ctdb-1.9.1~89 X-Git-Url: http://git.samba.org/?p=sahlberg%2Fctdb.git;a=commitdiff_plain;h=a9831070344a6dcf46c55250f9d74a5870f37dfe add a missing || to make the 10.interface script not fail with a syntax error --- diff --git a/config/events.d/10.interface b/config/events.d/10.interface index fdb15571..1e7f94b2 100755 --- a/config/events.d/10.interface +++ b/config/events.d/10.interface @@ -80,7 +80,7 @@ monitor_interfaces() # we dont know how to test ib links ;; *) - [ -z "$IFACE" ] { + [ -z "$IFACE" ] || { [ "$(basename $(readlink /sys/class/net/$IFACE/device/driver))" = virtio_net ] || ethtool $IFACE | grep -q 'Link detected: yes' || { # On some systems, this is not successful when a