From 842bf55981aebd9a55d6330346769ea5b93f8e4b Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Thu, 26 Mar 2015 17:28:17 +0100
Subject: [PATCH] Missing "exit" on patch tool when patch is missing

---
 server/scripts/ispconfig_patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/scripts/ispconfig_patch b/server/scripts/ispconfig_patch
index 9376ba19fe..6ed2a3f5ae 100644
--- a/server/scripts/ispconfig_patch
+++ b/server/scripts/ispconfig_patch
@@ -102,6 +102,7 @@ echo "Please enter the patch id that you want to be applied to your ISPConfig in
 
 if(!is_installed('patch')) {
 	swriteln("The program 'patch' is missing on your server. Please install it and try again.");
+	exit;
 }
 
 $patch_id = simple_query('Enter patch id', false, '');
-- 
GitLab