Răsfoiți Sursa

Fix log append in push logic

`&>` vs `&>>`
Tianon Gravi 11 ani în urmă
părinte
comite
237afd7521
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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