Skip to content

Commit ab5c01a

Browse files
committed
fix if-statement
1 parent dc06b20 commit ab5c01a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ async function startProcessing(req, res) {
336336
return
337337
}
338338

339-
if (hosts.length > 0) {
339+
if (hosts.length <= 0) {
340340
err = true
341341
errorClient(ws, err)
342342
return

0 commit comments

Comments
 (0)