From 706c3f91651d59d505c8c29f60b33328ebffe641 Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 16 Dec 2020 16:02:58 +0800 Subject: [PATCH] sudo --- scripts/check-named-zones.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check-named-zones.sh b/scripts/check-named-zones.sh index 915b36b..20a43e8 100755 --- a/scripts/check-named-zones.sh +++ b/scripts/check-named-zones.sh @@ -4,8 +4,8 @@ set -eo pipefail [ -n "$CI" ] -apt update -qq -DEBIAN_FRONTEND=noninteractive apt -o Dpkg::Options::=--force-confold install -y --no-install-recommends bind9-utils +sudo apt update -qq +sudo DEBIAN_FRONTEND=noninteractive apt -o Dpkg::Options::=--force-confold install -y --no-install-recommends bind9-utils alias check='PATH=/sbin:/usr/sbin:$PATH named-checkzone -i local'