From a7e9af386c04d76ccca47dcb4f2d5d5894baa7fc Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Fri, 5 May 2017 16:38:37 -0700 Subject: [PATCH] image_to_vm: Silence stray output when --from is used --- image_to_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_to_vm.sh b/image_to_vm.sh index 043b2648db..44853082eb 100755 --- a/image_to_vm.sh +++ b/image_to_vm.sh @@ -86,7 +86,7 @@ IMAGES_DIR="${DEFAULT_BUILD_ROOT}/images/${FLAGS_board}" if [ -z "${FLAGS_from}" ] ; then FLAGS_from="$(${SCRIPT_ROOT}/get_latest_image.sh --board=${FLAGS_board})" else - pushd "${FLAGS_from}" && FLAGS_from=`pwd` && popd + pushd "${FLAGS_from}" >/dev/null && FLAGS_from=`pwd` && popd >/dev/null fi if [ -z "${FLAGS_to}" ] ; then FLAGS_to="${FLAGS_from}"