From 1e1f281f54c7da733a214d7ef85782370e0ebb6d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 26 Apr 2024 16:29:40 +0200 Subject: [PATCH] fixes --- cd.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cd.sh b/cd.sh index a4cf213..67f33fa 100644 --- a/cd.sh +++ b/cd.sh @@ -52,8 +52,7 @@ local text='' text+="nameserver ${server} " done - cd_write "${CD_DNS_FILE}" "${text}" \ - || exit + cd_write "${CD_DNS_FILE}" "${text}" } function cd_set_packages_repositories { @@ -102,7 +101,7 @@ Acquire::https::Verify-Peer False; function cd_update_packages_catalog { cd_step "${FUNCNAME}" case "${CD_OS_NAME}" in - 'debian') apt-get update ;; + 'debian') apt-get update || exit ;; *) exit 1 ;; esac }