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 }