diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-21 13:21:47 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-21 13:21:47 +0200 |
commit | 868ae999f7bbc17f3b61d08cb0caff4ec7bbe22e (patch) | |
tree | c28456f478456e10c66ee496ada14ff3e5513213 | |
parent | 9b5bd658a403fd1b1a7321d3d37ae2e8b8cba9a0 (diff) | |
download | prosody-868ae999f7bbc17f3b61d08cb0caff4ec7bbe22e.tar.gz prosody-868ae999f7bbc17f3b61d08cb0caff4ec7bbe22e.zip |
prosodyctl: Fix indentation
-rwxr-xr-x | prosodyctl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,8 +20,8 @@ CFG_DATADIR=CFG_DATADIR or os.getenv("PROSODY_DATADIR"); 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 prosodyctl = require "util.prosodyctl" 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"); |