removed some empty lines

This commit is contained in:
somebodywashere 2024-02-10 13:23:04 +03:00
parent dd46cda8f7
commit 1a677a4b7e
2 changed files with 1 additions and 3 deletions

View file

@ -64,7 +64,6 @@ func (j *CheckClientIpJob) clearLogTime() {
}
func (j *CheckClientIpJob) clearAccessLog() {
accessLogPath := xray.GetAccessLogPath()
logAccessP, err := os.OpenFile(xray.GetAccessPersistentLogPath(), os.O_CREATE|os.O_APPEND|os.O_RDWR, 0644)
j.checkError(err)

View file

@ -26,7 +26,6 @@ func (j *ClearLogsJob) Run() {
// clear log files and copy to previous logs
for i := 0; i < len(logFiles); i++ {
if i > 0 {
// copy to previous logs
logFilePrev, err := os.OpenFile(logFilesPrev[i-1], os.O_CREATE|os.O_APPEND|os.O_RDWR, 0644)