From 53ea3fe4af9418e0a1344d015ed1faef08a1b4e1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= <radoslaw.piliszek@gmail.com>
Date: Tue, 9 Jul 2019 15:38:47 +0200
Subject: [PATCH] Trivial fix: log stderr of init-runonce as well
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Missed by me in a recent merge.

TrivialFix
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>

Change-Id: I83b1e84a43f014ce20be8677868be3f66017e3c2
---
 tests/deploy.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/deploy.sh b/tests/deploy.sh
index bcbefc0541..efeb3c1a70 100755
--- a/tests/deploy.sh
+++ b/tests/deploy.sh
@@ -28,7 +28,7 @@ function deploy {
 
     if ! openstack image show cirros >/dev/null 2>&1; then
         echo "Initialising OpenStack resources via init-runonce"
-        tools/init-runonce > /tmp/logs/ansible/init-runonce
+        tools/init-runonce &> /tmp/logs/ansible/init-runonce
     else
         echo "Not running init-runonce - resources exist"
     fi