aboutsummaryrefslogtreecommitdiff
path: root/net/unbound/files/stopping.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/unbound/files/stopping.sh')
-rw-r--r--net/unbound/files/stopping.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/unbound/files/stopping.sh b/net/unbound/files/stopping.sh
index cf0ce0561..826a40ac6 100644
--- a/net/unbound/files/stopping.sh
+++ b/net/unbound/files/stopping.sh
@@ -43,7 +43,7 @@ rootkey_update() {
[ -z "$dnssec_age" ] && dnssec_age=9
- if [ "$dnssec_age" -gt 90 ] || [ "$dnssec" -lt 1 ] ; then
+ if [ $dnssec_age -gt 90 ] || [ $dnssec -lt 1 ] ; then
# Feature disabled
return 0
@@ -79,7 +79,7 @@ rootkey_update() {
fi
- if [ "$rootkey_age" -gt "$dnssec_age" ] ; then
+ if [ $rootkey_age -gt $dnssec_age ] ; then
filestuff=$( cat $UB_RKEY_FILE )