Skip to content

Commit 3c20621

Browse files
committed
Updated log date format
1 parent 2fdd210 commit 3c20621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/usr/local/bin/flac2mp3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ fi
337337
function log {(
338338
while read
339339
do
340-
echo $(date +"%y-%-m-%-d %H:%M:%S.%1N")\|"[$flac2mp3_pid]$REPLY" >>"$flac2mp3_log"
340+
echo $(date +"%Y-%m-%d %H:%M:%S.%1N")\|"[$flac2mp3_pid]$REPLY" >>"$flac2mp3_log"
341341
local flac2mp3_filesize=$(stat -c %s "$flac2mp3_log")
342342
if [ $flac2mp3_filesize -gt $flac2mp3_maxlogsize ]
343343
then

0 commit comments

Comments
 (0)