瀏覽代碼

Fix log append in push logic

`&>` vs `&>>`
Tianon Gravi 11 年之前
父節點
當前提交
237afd7521
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bashbrew/bashbrew.sh

+ 1 - 1
bashbrew/bashbrew.sh

@@ -339,7 +339,7 @@ while [ "$#" -gt 0 ]; do
 			for namespace in $namespaces; do
 				if [ "$doPush" ]; then
 					echo "Pushing $namespace/$repoTag..."
-					if ! "$docker" push "$namespace/$repoTag" &> "$thisLog" < /dev/null; then
+					if ! "$docker" push "$namespace/$repoTag" &>> "$thisLog" < /dev/null; then
 						echo >&2 "- $namespace/$repoTag failed to push; see $thisLog"
 					fi
 				else