meta-zaius: vcs-control: Catch UCD driver bind failure

Capture return value of binding UCD90160 driver to power sequencer
rather than let it exit the entire script on first failure.
Only exit script if the all the driver bind attempts fail.

Signed-off-by: Xo Wang <xow@google.com>
Change-Id: I76303e1abb222daa7badb58b90d77bb49717236a
diff --git a/meta-zaius/recipes-phosphor/chassis/vcs-control/zaius_vcs.sh b/meta-zaius/recipes-phosphor/chassis/vcs-control/zaius_vcs.sh
index fc5dc08..b65b12d 100755
--- a/meta-zaius/recipes-phosphor/chassis/vcs-control/zaius_vcs.sh
+++ b/meta-zaius/recipes-phosphor/chassis/vcs-control/zaius_vcs.sh
@@ -51,8 +51,9 @@
         local i=0
         until [ -d $ucd_path/$ucd_driver ] || [ $i -ge $ucd_retries ]; do
             i=$((i+1))
-            echo $ucd_driver > $ucd_path/bind
+            echo $ucd_driver > $ucd_path/bind || ret=$?
         done
+        if [ ! -d $ucd_path/$ucd_driver ]; then exit $ret; fi
     fi
 }