diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 36ef48462a7b01137353a00ed7741d949a57431e..81c01eb3d0a4f373ceb59e1f3e23336fcb6d18f4 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);
+		$content = json_encode($data, JSON_PRETTY_PRINTy print json);
 		@file_put_contents($file, $content);
 	}