when reading feed file names from feed directory, randomize them

This commit is contained in:
Albert S. 2017-08-11 13:42:29 +02:00
父節點 cb1a4c743c
當前提交 7d664e4752
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -28,7 +28,7 @@ if [ "$3" = "syncnow" ] ; then
syncnow=1
fi
while true ; do
ls "$feedsconfigdir" | while read line ; do
ls "$feedsconfigdir" | shuf | while read line ; do
source "$feedsconfigdir/$line"
sleepfor=0