diff --git a/lib/base.php b/lib/base.php
index 56b2bec7f6c225fa63b71600d55dd0f92e7b7a78..dc09b61490a24ba3306c9244cc773f0ab18443c1 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -148,7 +148,7 @@ class OC {
 			echo('3rdparty directory not found! Please put the ownCloud 3rdparty'
 				. ' folder in the ownCloud folder or the folder above.'
 				. ' You can also configure the location in the config.php file.');
-			exit();
+			return;
 		}
 		
 		// search the apps folder