diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 3f08610b2b8e52bdcc13bcb5ba2d13b9f8723bf2..d31c2f35a68f866bb95c82210b89dc6fe059f2bd 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -312,7 +312,7 @@ class OC_Mount_Config {
 		} else {
 			$file = OC::$SERVERROOT.'/config/mount.json';
 		}
-		$content = json_encode($data, JSON_PRETTY_PRINT);
+		$content = json_encode($data);
 		@file_put_contents($file, $content);
 	}