Code Review
/
genesis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
8f49d7a
)
Merge "Merge branch 'master' into merge-master-arno" into stable/arno
author
Tim Rozet
<trozet@redhat.com>
Tue, 8 Sep 2015 14:57:39 +0000
(14:57 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Tue, 8 Sep 2015 14:57:39 +0000
(14:57 +0000)
common/ci/setup.sh
patch
|
blob
|
history
diff --git
a/common/ci/setup.sh
b/common/ci/setup.sh
index
4d754a9
..
380ac4d
100755
(executable)
--- a/
common/ci/setup.sh
+++ b/
common/ci/setup.sh
@@
-90,7
+90,7
@@
check_interface() {
ip link set dev ${interface} up
sleep 5
link_state=$(ip link show ${interface} | grep -oP 'state \K[^ ]+')
- if [[ ${link_state}
!= 'UP
' ]]; then
+ if [[ ${link_state}
== 'DOWN
' ]]; then
echo "${red}Could not bring UP interface ${interface} link state is ${link_state}${reset}"
exit 1
fi