Skip to content

Commit

Permalink
docker: Fix return code of build_qemu()
Browse files Browse the repository at this point in the history
Without "set -e", the "&&" makes sure that the return code reflects the
result status, and that make only runs if configure succeeds.

Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170905025614.579-2-famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Based-on: 20170905021201.25684-1-famz@redhat.com
  • Loading branch information
Fam Zheng committed Sep 22, 2017
1 parent 05790da commit d8a2f51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/docker/common.rc
Expand Up @@ -30,6 +30,5 @@ build_qemu()
$@"
echo "Configure options:"
echo $config_opts
$QEMU_SRC/configure $config_opts
make $MAKEFLAGS
$QEMU_SRC/configure $config_opts && make $MAKEFLAGS
}

0 comments on commit d8a2f51

Please sign in to comment.