From fdaffba44db33ccf9bd186f04aa0dd6e2993bebb Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 30 Nov 2022 10:29:10 +0100 Subject: [PATCH] Minor changes in scripts/create-pdns-zones-from-files --- scripts/create-pdns-zones-from-files | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/create-pdns-zones-from-files b/scripts/create-pdns-zones-from-files index d158aa4..0bee14f 100755 --- a/scripts/create-pdns-zones-from-files +++ b/scripts/create-pdns-zones-from-files @@ -133,10 +133,7 @@ get_options() { exit 1 fi - if [[ $(id -u -n) != "root" ]] ; then - error "You must ${RED}be root${NORMAL} to execute this script!" >&2 - exit 1 - fi + check_for_root local zone_file= local found=y -- 2.39.5