Index: trunk/MagicSoft/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7917)
+++ trunk/MagicSoft/Mars/datacenter/scripts/sourcefile	(revision 7924)
@@ -314,4 +314,5 @@
    then
       echo "ERROR could not query process from db -> contex"
+      rm -v $lockfile
       contex
    fi
@@ -320,4 +321,5 @@
    then
       echo "  => nothing to do" 
+      rm -v $lockfile
       contex 
    else 
@@ -335,4 +337,5 @@
       then
          echo "$todofile exists already"
+         rm -v $lockfile
          contex 
       fi
