Fix log append in push logic

`&>` vs `&>>`
This commit is contained in:
Tianon Gravi 2015-01-13 15:32:32 -07:00
parent 166a52934b
commit 760bc6bd72
1 changed files with 1 additions and 1 deletions

View File

@ -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