summaryrefslogtreecommitdiff
path: root/debian/update-resolv-conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/update-resolv-conf')
-rw-r--r--debian/update-resolv-conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/update-resolv-conf b/debian/update-resolv-conf
index 5bebaa4..61b15d9 100644
--- a/debian/update-resolv-conf
+++ b/debian/update-resolv-conf
@@ -15,7 +15,11 @@
# foreign_option_3='dhcp-option DOMAIN be.bnc.ch'
#
-[ -x /sbin/resolvconf ] || exit 0
+if [ ! -x /sbin/resolvconf ] ; then
+ logger "[OpenVPN:update-resolve-conf] missing binary /sbin/resolvconf";
+ exit 0;
+fi
+
[ "$script_type" ] || exit 0
[ "$dev" ] || exit 0