1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-26 18:50:30 +03:00

add a missing ||

to make the 10.interface script not fail with a syntax error

(This used to be ctdb commit a9831070344a6dcf46c55250f9d74a5870f37dfe)
This commit is contained in:
Ronnie Sahlberg 2010-04-22 14:22:46 +10:00
parent f765f0ceca
commit 40434a7c98

View File

@ -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