From 760bc6bd725e5d8b7cecfef8564b77865936a1ac Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Tue, 13 Jan 2015 15:32:32 -0700 Subject: [PATCH] Fix log append in push logic `&>` vs `&>>` --- bashbrew.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashbrew.sh b/bashbrew.sh index ee88f15..1eb7ae5 100755 --- a/bashbrew.sh +++ b/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