diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh index e8f2812..3d73f7c 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-set-time.sh @@ -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 }