Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MFC r257361:

  Fix compatibility function for old daily_status_security_${name}_enable
  variables.

  PR:           conf/183137

MFC r257364:
  Fix indentation.

Approved by:	re (gjb)
  • Loading branch information...
commit bc89db057bab6d4c7215396b2a1ba84629d42e3d 1 parent 8141a12
jlh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 etc/defaults/periodic.conf
View
4 etc/defaults/periodic.conf
@@ -319,7 +319,7 @@ if [ -z "${source_periodic_confs_defined}" ]; then
security_daily_compat_var() {
local var=$1 dailyvar value
- dailyvar=daily_status_security${#status_security}
+ dailyvar=daily_status_security${var#security_status}
periodvar=${var%enable}period
eval value=\"\$$dailyvar\"
[ -z "$value" ] && return
@@ -331,7 +331,7 @@ if [ -z "${source_periodic_confs_defined}" ]; then
$periodvar=daily
;;
*)
- $var="$value"
+ eval $var=\"$value\"
;;
esac
}
Please sign in to comment.
Something went wrong with that request. Please try again.