From fb7c02e0c10a69df5e0a9637eac71f61f05fec0b Mon Sep 17 00:00:00 2001 From: iliajie Date: Sun, 18 Dec 2022 19:38:56 +0200 Subject: [PATCH] Fix sync time message print --- virtualmin-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/virtualmin-install.sh b/virtualmin-install.sh index 46c4f96..817b596 100644 --- a/virtualmin-install.sh +++ b/virtualmin-install.sh @@ -166,13 +166,14 @@ if [ -z "$setup_only" ]; then echo " .. done" # Graceful sync else - echo " Syncing system time .." if systemctl restart chronyd 1>/dev/null 2>&1; then + echo " Syncing system time .." sleep 2 echo " .. done" elif systemctl restart systemd-timesyncd 1>/dev/null 2>&1; then - echo " .. done" + echo " Syncing system time .." sleep 2 + echo " .. done" fi fi