Zachary Kotlarek 13 лет назад
Родитель
Сommit
b616289630
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      pms/emptyTrash.sh

+ 2 - 1
pms/emptyTrash.sh

@@ -11,7 +11,8 @@ if ~/bin/video/pms/isScanning.sh; then
 fi
 
 # Read the list of section numbers
-SECTIONS="`curl 'http://localhost:32400/library/sections' | grep '<Directory ' | sed 's%^.* key="\([0-9]*\)".*$%\1%'`"
+SECTIONS="`curl --silent 'http://localhost:32400/library/sections' | \
+	grep '<Directory ' | sed 's%^.* key="\([0-9]*\)".*$%\1%'`"
 
 # Empty the trash for each section
 for i in $SECTIONS; do