From ad7916eba03eeb5ed0ce0b198560f805424b547d Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 8 Nov 2013 02:02:16 -0800 Subject: [PATCH] delete grep error information in xcatlib.sh --- xCAT/postscripts/xcatlib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatlib.sh b/xCAT/postscripts/xcatlib.sh index d3d253760..a17a09ed0 100644 --- a/xCAT/postscripts/xcatlib.sh +++ b/xCAT/postscripts/xcatlib.sh @@ -22,7 +22,7 @@ function debianpreconf(){ mkdir -p "/etc/network/interfaces.d" fi #search xcat flag - `grep "#XCAT_CONFIG" /etc/network/interfaces` + grep '#XCAT_CONFIG' /etc/network/interfaces if [ $? -eq 0 ];then return fi