Changeset

8637:c8368c7c81a1

util.startup: Trim trailing whitespace [luacheck]
author Kim Alvefur <zash@zash.se>
date Wed, 21 Mar 2018 10:26:29 +0100
parents 8636:8691083420e4
children 8638:f8f45bbbd8ba
files util/startup.lua
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/util/startup.lua	Tue Mar 20 16:11:37 2018 +0000
+++ b/util/startup.lua	Wed Mar 21 10:26:29 2018 +0100
@@ -343,7 +343,7 @@
 end
 
 function startup.notify_started()
-	prosody.events.fire_event("server-started");	
+	prosody.events.fire_event("server-started");
 end
 
 -- Override logging config (used by prosodyctl)
@@ -402,7 +402,7 @@
 				end
 			end
 		end
-	
+
 		-- Set our umask to protect data files
 		pposix.umask(config.get("*", "umask") or "027");
 		pposix.setenv("HOME", data_path);
@@ -424,7 +424,7 @@
 		f:close();
 		return true;
 	end
-	
+
 	local unwriteable_files = {};
 	if type(original_logging_config) == "string" and original_logging_config:sub(1,1) ~= "*" then
 		local ok, err = test_writeable(original_logging_config);
@@ -441,7 +441,7 @@
 			end
 		end
 	end
-	
+
 	if #unwriteable_files > 0 then
 		print("One of more of the Prosody log files are not");
 		print("writeable, please correct the errors and try");
@@ -469,7 +469,7 @@
 			users = require "core.usermanager".new_null_provider(hostname)
 		};
 	end
-	
+
 	for hostname, config in pairs(config.getconfig()) do
 		hosts[hostname] = make_host(hostname);
 	end