[Pkg-voip-commits] [dahdi-tools] 181/285: waitfor_xpds: handle the case of a failing AB
tzafrir at debian.org
tzafrir at debian.org
Thu Jul 7 19:18:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master
in repository dahdi-tools.
commit bce5afacf177a5f2c7271e68bb6abc4b15d7a031
Author: Aslan Laoz <aslan.laoz at xorcom.com>
Date: Tue Jan 14 15:34:24 2014 +0000
waitfor_xpds: handle the case of a failing AB
If an Astribank failed initialization, don't keep waiting for it.
---
xpp/waitfor_xpds | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/xpp/waitfor_xpds b/xpp/waitfor_xpds
index f1fbd5e..bffa8c2 100755
--- a/xpp/waitfor_xpds
+++ b/xpp/waitfor_xpds
@@ -72,6 +72,10 @@ waitfor_ab_initialization() {
fi
test "$oldab" != "$ab"
do
+ if [ "$ab" = '' ]; then
+ echo >&2 "Astribanks disappeared"
+ break
+ fi
oldab="$ab"
cat $ab
#echo -n 1>&2 "_"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git
More information about the Pkg-voip-commits
mailing list