Jelajahi Sumber

Fix log append in push logic

`&>` vs `&>>`
Tianon Gravi 11 tahun lalu
induk
melakukan
237afd7521
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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