diff --git a/server/server.php b/server/server.php
index 29c07a36a77f12d3aa69a391306bf0ff1db2590e..3646f81dabe1096e62197c33a8ffbe9e580f5862 100644
--- a/server/server.php
+++ b/server/server.php
@@ -54,7 +54,7 @@ if($server_db_record == false) {
 // Check if another process is running
 if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){
   clearstatcache();
-  for($i=0;$i<120;$i++){ // Wait max. 1200 sec, then proceed
+  for($i=0;$i<1200;$i++){ // Wait max. 1200 sec, then proceed
     if(is_file($conf["temppath"].$conf["fs_div"].".ispconfig_lock")){
 	  $app->log("There is already a lockfile set. Waiting another 10 seconds...", LOGLEVEL_DEBUG);
       sleep(10);
@@ -127,4 +127,4 @@ $app->log("Remove Lock: ".$conf["temppath"].$conf["fs_div"].".ispconfig_lock",LO
 
 
 die("finished.\n");
-?>
\ No newline at end of file
+?>