mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 18:50:28 +00:00
issue 1245, add the missing $ in the regular expression
This commit is contained in:
@@ -94,7 +94,7 @@ config_Rsyslog_C3()
|
||||
grep "$xCATSettingsOLD$" $conf_file 2>&1 1> /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
#remove the older version syslog rule generated by xCAT
|
||||
sed -i "/$xCATSettingsOLD/,+1 d" $2
|
||||
sed -i "/$xCATSettingsOLD$/,+1 d" $2
|
||||
fi
|
||||
|
||||
grep "$xCATSettingsSTART" $conf_file 2>&1 1> /dev/null
|
||||
|
Reference in New Issue
Block a user