From 021ba6a47856a96bf44cb3d8bf39f6f73ec741da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 Jan 2021 10:29:21 +0200 Subject: Add ability to specify existing tap interface in test-machine Also, create new tap as tap9 instead of tap0. --- upload-machine | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'upload-machine') diff --git a/upload-machine b/upload-machine index cffcd7b..8d6e730 100755 --- a/upload-machine +++ b/upload-machine @@ -14,7 +14,8 @@ usage="usage: $0 [] []" owd="$(pwd)" trap "{ cd '$owd'; exit 1; }" ERR -set -o errtrace # Trap in functions. +set -o errtrace -o pipefail # Trap in functions. + # Fail if any pipe command fails. function info () { echo "$*" 1>&2; } function error () { info "$*"; exit 1; } -- cgit v1.1