mirror of
https://github.com/fw876/helloworld.git
synced 2026-12-05 16:02:13 +00:00
Convert to UTF-8 encoding
This commit is contained in:
1 file changed
+1
-1
@@ -76,7 +76,7 @@ get_host_ip() {
|
||||
clean_log() {
|
||||
logsnum=$(cat /tmp/ssrplus.log 2>/dev/null | wc -l)
|
||||
[ "$logsnum" -gt 1000 ] && {
|
||||
echo "$(date "+%Y-%m-%d %H:%M:%S") 日志文件过长,清空处理!" >/tmp/ssrplus.log
|
||||
echo "$(date "+%Y-%m-%d %H:%M:%S") 日志文件过长,清空处理!" >/tmp/ssrplus.log
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user