From a0b09687b6b26331fe6ec20915a122dcb7034aaa Mon Sep 17 00:00:00 2001 From: Reid Wahl Date: Sun, 10 Dec 2023 12:11:41 -0800 Subject: [PATCH] Low: IPaddr2: Remove stray backslash Fixes this warning (which gets logged on every recurring monitor for a Pacemaker resource): $ OCF_ROOT=/usr/lib/ocf OCF_RESKEY_ip=192.168.22.41 \ /usr/lib/ocf/resource.d/heartbeat/IPaddr2 monitor grep: warning: stray \ before white space Signed-off-by: Reid Wahl --- heartbeat/IPaddr2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heartbeat/IPaddr2 b/heartbeat/IPaddr2 index 97a7431a..5f30b8f9 100755 --- a/heartbeat/IPaddr2 +++ b/heartbeat/IPaddr2 @@ -624,7 +624,7 @@ find_interface() { # List interfaces but exclude FreeS/WAN ipsecN virtual interfaces # local iface="`$IP2UTIL -o -f $FAMILY addr show \ - | grep "\ $ipaddr/$netmask" \ + | grep " $ipaddr/$netmask" \ | cut -d ' ' -f2 \ | grep -v '^ipsec[0-9][0-9]*$'`" -- 2.41.0