From b669a5c0548dcd7da82ad8626331fd41a06f93bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=81=E3=82=BB?= <123655015+chise0713@users.noreply.github.com> Date: Fri, 5 Apr 2024 19:16:47 +0800 Subject: [PATCH] Update install-release.sh --- install-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-release.sh b/install-release.sh index 786900c..23283f2 100755 --- a/install-release.sh +++ b/install-release.sh @@ -301,7 +301,7 @@ judgment_parameters() { ;; '--logrotate') if grep -qE '\b([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]\b' <<< "$2";then - echo "error: Wrong format of time, it should be in the format of 12:34:56, under 12:00:00 should be start with 0, e.g. 01:23:45." + echo "error: Wrong format of time, it should be in the format of 12:34:56, under 10:00:00 should be start with 0, e.g. 01:23:45." exit 1 fi LOGROTATE='1' @@ -800,7 +800,7 @@ show_help() { echo " --without-geodata Don't install/update geoip.dat and geosite.dat" echo " --without-logfiles Don't install /var/log/xray" echo " --logrotate [time] Install with logrotate." - echo " [time] need be in the format of 12:34:56, under 12:00:00 should be start with 0, e.g. 01:23:45." + echo " [time] need be in the format of 12:34:56, under 10:00:00 should be start with 0, e.g. 01:23:45." echo ' install-geodata:' echo ' -p, --proxy Download through a proxy server' echo ' remove:'