# HG changeset patch # User Kim Alvefur # Date 1492773707 -7200 # Node ID 4e5a8365c53ffc5e878dd6881f556464a7b0e8ac # Parent 927b9c5cc17ad05f06a9cb8900667073d24936b0 prosodyctl: Fix indentation diff -r 927b9c5cc17a -r 4e5a8365c53f 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");