Merge pull request #229 from femtofox/new_working

Remove errant exit
This commit is contained in:
noon92 2025-01-20 19:00:52 +02:00 • committed by GitHub
commit 31bebd3197
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,6 @@ log_message() {
set_timezone() {
if timedatectl set-timezone "$1"; then
log_message "\nTime zone set to $1 (UTC$(date +%z)) successfully."
exit 0
else
log_message "\nFailed to set the time zone to $1."
exit 1