osaf/services/infrastructure/dtms/scripts/osaf-transport-monitor.in |  8 
++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


diff --git 
a/osaf/services/infrastructure/dtms/scripts/osaf-transport-monitor.in 
b/osaf/services/infrastructure/dtms/scripts/osaf-transport-monitor.in
--- a/osaf/services/infrastructure/dtms/scripts/osaf-transport-monitor.in
+++ b/osaf/services/infrastructure/dtms/scripts/osaf-transport-monitor.in
@@ -43,8 +43,8 @@ start() {
                    fi
                   
                     if [ ! "$MDS_TRANSPORT" = "TIPC" ] ; then
-                        COUNT=0
-                        while ((COUNT < 15))
+                        count=0
+                        while [ $count -le 15 ]
                         do
                            pidval=`cat $pkgpiddir/$prog.pid`
                            if  ! test -d /proc/$pidval ; then
@@ -52,9 +52,9 @@ start() {
                              $pkglibdir/opensaf_reboot 0 
                              exit 0;
                            fi
-                           #logger "osafdtmd PID : $pidval  monitor COUNT = 
$COUNT"
+                           #logger "osafdtmd PID : $pidval  monitor count = 
$count"
                            sleep 1
-                           ((COUNT=COUNT+1))
+                           count=`expr $count + 1`
                         done
                    else
                        sleep 15

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to