mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-16 09:31:10 +00:00
delete grep error information in xcatlib.sh
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user