aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-21 13:21:47 +0200
committerKim Alvefur <zash@zash.se>2017-04-21 13:21:47 +0200
commit132063858c6dfe3d3f57e80d37a682dbe03f7f69 (patch)
treec28456f478456e10c66ee496ada14ff3e5513213 /prosodyctl
parentd7900a6980737c8fd3c7f51794a003c96f264a75 (diff)
downloadprosody-132063858c6dfe3d3f57e80d37a682dbe03f7f69.tar.gz
prosody-132063858c6dfe3d3f57e80d37a682dbe03f7f69.zip
prosodyctl: Fix indentation
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl6
1 files changed, 3 insertions, 3 deletions
diff --git a/prosodyctl b/prosodyctl
index 06550151..3fe14011 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -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");