Software /
code /
prosody
Changeset
8104:4e5a8365c53f
prosodyctl: Fix indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 21 Apr 2017 13:21:47 +0200 |
parents | 8102:927b9c5cc17a |
children | 8105:851b50401a26 |
files | prosodyctl |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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");