Commit d15c8fda authored by Stefan Bader's avatar Stefan Bader

UBUNTU: [Packaging] resync getabis

BugLink: http://bugs.launchpad.net/bugs/1786013Signed-off-by: default avatarStefan Bader <stefan.bader@canonical.com>
parent b104e6bf
...@@ -82,7 +82,7 @@ getall_set() ...@@ -82,7 +82,7 @@ getall_set()
rc="$?" rc="$?"
# If this was not successful or a valid error # If this was not successful or a valid error
# return from the server all bets are off, bail. # return from the server all bets are off, bail.
[ "$rc" != 0 -a "$rc" != 8 ] && return 1 [ "$rc" != 0 -a "$rc" != 8 ] && return 2
fi fi
if [ -f $filename ]; then if [ -f $filename ]; then
echo -n "y" echo -n "y"
...@@ -155,6 +155,12 @@ getall_set() ...@@ -155,6 +155,12 @@ getall_set()
rm -rf tmp $filenames rm -rf tmp $filenames
echo " done" echo " done"
) )
rc="$?"
if [ "$rc" = 2 ]; then
echo "ERROR: downloads are reporting network failures" 1>&2
exit 1
fi
return "$rc"
} }
# MAIN # MAIN
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment