소스 검색

Make cURL silent

Zachary Kotlarek 13 년 전
부모
커밋
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
 fi
 
 
 # Read the list of section numbers
 # 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
 # Empty the trash for each section
 for i in $SECTIONS; do
 for i in $SECTIONS; do