diff --git a/functions.php b/functions.php index d4b81f0..9bcfe01 100644 --- a/functions.php +++ b/functions.php @@ -25,10 +25,11 @@ function check_install() { // is install in progress function check_deploy($application) { // is an application deploy in progress $arr = check_request("deployment"); - if (!empty($arr)) return "deployment"; // deploy in progress install has started + if (!empty($arr)) return "deploy-".$application; // deploy in progress install has started else { $arr = check_response("deploy-".$application); // application install in progress PID exists - return 0; + if (!empty($arr)) return "deploy-".$application; + else return 0; } } diff --git a/scan.php b/scan.php index 2fc639c..f52bffc 100644 --- a/scan.php +++ b/scan.php @@ -245,7 +245,7 @@ switch ($_GET["op"]) { break; case "deploy": if ($key=check_deploy($_GET["additional"])) { - $text="A deployment has already started.
Please wait and do not start a new one..."; + $text="A deployment ({$_GET["additional"]}) has already started.
Please wait and do not start a new one..."; } else { $text="Install in progress... Please wait...";