delete grep error information in xcatlib.sh
This commit is contained in:
parent
a3040af400
commit
ad7916eba0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user