Skip to contentSkip to conversation

master - test: Fix the failing branch in aux lvmetad_talk.

PATCH Petr Rockai 1 participant 1 message Feb 28, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6733ac86d717df0bc8de5ea0ae59f9d017f9e208
Commit:        6733ac86d717df0bc8de5ea0ae59f9d017f9e208
Parent:        fb003cdfd5eee1d67887cd2136630cc36bba2cbf
Author:        Petr Rockai <[email protected]>
AuthorDate:    Fri Feb 28 23:30:17 2014 +0100
Committer:     Petr Rockai <[email protected]>
CommitterDate: Fri Feb 28 23:30:17 2014 +0100

test: Fix the failing branch in aux lvmetad_talk.

---
 test/lib/aux.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
test/lib/aux.sh +1 -1
index ab3fc05..5ae40e8 100644
@@ -94,7 +94,7 @@ lvmetad_talk() {
     else
 	echo "WARNING: Neither socat nor nc -U seems to be available." 1>&2
 	echo "# failed to contact lvmetad"
-	return 1
+	exit 1
     fi | tee -a lvmetad-talk.txt
 }