prosodyctl: Fix indentation
authorKim Alvefur <zash@zash.se>
Fri, 21 Apr 2017 13:21:47 +0200
changeset 8107 4e5a8365c53f
parent 8105 927b9c5cc17a
child 8108 851b50401a26
prosodyctl: Fix indentation
prosodyctl
--- a/prosodyctl	Thu Apr 20 16:20:28 2017 +0200
+++ b/prosodyctl	Fri Apr 21 13:21:47 2017 +0200
@@ -20,8 +20,8 @@
 
 local function is_relative(path)
 	local path_sep = package.config:sub(1,1);
-        return ((path_sep == "/" and path:sub(1,1) ~= "/")
-	or (path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\")))
+	return ((path_sep == "/" and path:sub(1,1) ~= "/")
+		or (path_sep == "\\" and (path:sub(1,1) ~= "/" and path:sub(2,3) ~= ":\\")))
 end
 
 -- Tell Lua where to find our libraries
@@ -250,7 +250,7 @@
 local socket = require "socket"
 -----------------------
 
- -- FIXME: Duplicate code waiting for util.startup
+-- FIXME: Duplicate code waiting for util.startup
 function read_version()
 	-- Try to determine version
 	local version_file = io.open((CFG_SOURCEDIR or ".").."/prosody.version");