summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/periodic.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf
index 9fb6859..11eed5b 100644
--- a/etc/defaults/periodic.conf
+++ b/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
}
OpenPOWER on IntegriCloud