File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,8 +213,8 @@ if [[ -f ${YUM_HISTORY_FILE} ]]; then
213213
214214 # Check for recent updates
215215 recent_updates=$( head -10 " ${YUM_HISTORY_FILE} " | grep -c " Update" 2> /dev/null || echo " 0" )
216- recent_updates=${recent_updates// / } # Remove any spaces
217- recent_updates=${recent_updates// [^0-9]/ } # Keep only numbers
216+ recent_updates=${recent_updates// / } # Remove any spaces
217+ recent_updates=${recent_updates// [^0-9]/ } # Keep only numbers
218218 if [[ ${recent_updates:- 0} -eq 0 ]]; then
219219 echo " No recent system updates found" >&2
220220 flag=1
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ is_required_file ${RISU_ROOT}/etc/raddb/radiusd.conf
2828
2929RADDB=" ${RISU_ROOT} /etc/raddb"
3030
31- OLD_REGEXP=' \\\\\\.' # \\. e.g. "if (&User-Name =~ /\\.\\./ ) {"
31+ OLD_REGEXP=' \\\\\\.' # \\. e.g. "if (&User-Name =~ /\\.\\./ ) {"
3232NEW_REGEXP=' [^\\]\\.' # \. e.g. "if (&User-Name =~ /\.\./ ) {"
3333REGEXP_MODE=" ^correct_escapes\\ s*=\\ s*true$" # correct_escapes = true
3434
You can’t perform that action at this time.
0 commit comments