Feed /dev/null to Username prompt to fix hang when not logged in
This commit is contained in:
parent
9318c9a41f
commit
d96df73185
|
|
@ -322,7 +322,7 @@ while [ "$#" -gt 0 ]; do
|
|||
for namespace in $namespaces; do
|
||||
if [ "$doPush" ]; then
|
||||
echo "Pushing $namespace/$repoTag..."
|
||||
if ! "$docker" push "$namespace/$repoTag" &> "$thisLog"; then
|
||||
if ! "$docker" push "$namespace/$repoTag" &> "$thisLog" < /dev/null; then
|
||||
echo >&2 "- $namespace/$repoTag failed to push; see $thisLog"
|
||||
fi
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue