Allow interfaces to be Deprecated
[openresolv] / unbound.in
index 46d45246ff2e598bce7f37482c3e36188c66b70f..bdb7766573cdb09e2f6a8df95a1f369c057e331b 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (c) 2009-2016 Roy Marples
+# Copyright (c) 2009-2020 Roy Marples
 # All rights reserved
 
 # unbound subscriber for resolvconf
@@ -76,7 +76,7 @@ restart_unbound()
                eval $unbound_restart
        elif [ -n "$RESTARTCMD" ]; then
                set -- ${unbound_service}
-               eval $RESTARTCMD
+               eval "$RESTARTCMD"
        else
                @SBINDIR@/resolvconf -r ${unbound_service}
        fi