Software /
code /
prosody
Comparison
prosodyctl @ 13649:d2969e163656
prosodyctl: Fix luacheck warning
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 06 Feb 2025 14:46:36 +0000 |
parent | 13648:0b37ce3e40cd |
child | 13650:9a66b53a5076 |
comparison
equal
deleted
inserted
replaced
13648:0b37ce3e40cd | 13649:d2969e163656 |
---|---|
314 | 314 |
315 local ok, ret = prosodyctl.stop(); | 315 local ok, ret = prosodyctl.stop(); |
316 if ok then | 316 if ok then |
317 local i=1; | 317 local i=1; |
318 while true do | 318 while true do |
319 local ok, running = prosodyctl.isrunning(); | 319 local ok, running = prosodyctl.isrunning(); --luacheck: ignore 421 |
320 if ok and not running then | 320 if ok and not running then |
321 break; | 321 break; |
322 elseif i == 5 then | 322 elseif i == 5 then |
323 show_message("Still waiting..."); | 323 show_message("Still waiting..."); |
324 elseif i >= prosodyctl_timeout then | 324 elseif i >= prosodyctl_timeout then |