mirror of
https://github.com/femtofox/femtofox.git
synced 2026-10-26 19:02:00 -04:00
Merge pull request #230 from femtofox/new_working
Remove redundant notification screen from timezone set
This commit is contained in:
commit
1b3deefb79
1 changed files with 2 additions and 4 deletions
|
|
@ -25,10 +25,8 @@ log_message() {
|
|||
}
|
||||
|
||||
set_timezone() {
|
||||
if timedatectl set-timezone "$1"; then
|
||||
log_message "\nTime zone set to $1 (UTC$(date +%z)) successfully."
|
||||
else
|
||||
log_message "\nFailed to set the time zone to $1."
|
||||
if ! timedatectl set-timezone "$1"; then
|
||||
log_message "\nFailed to set the time zone to $1."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue