Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 8193)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 8303)
@@ -224,5 +224,10 @@
                   *)  echo "setstatus stop - failed"
                       starttime=noreset
-                      returncode=$check
+                      if [ "$check" == "" ]
+                      then
+                         returncode=1
+                      else
+                         returncode=$check
+                      fi
                       failedcode=$com
                       if ! [ "$comadd" = "" ]
