Mercurial Hosting > luan
comparison src/luan/modules/host/Hosting.luan @ 1366:ae2321a09723
improve Thread.schedule
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 17 Jun 2019 21:50:40 -0600 |
parents | e8fc6712b468 |
children | 8d7a39ca2c0c |
comparison
equal
deleted
inserted
replaced
1365:6617763dfd76 | 1366:ae2321a09723 |
---|---|
45 process(there,there.children[name],here_child) | 45 process(there,there.children[name],here_child) |
46 there.children[name] = nil | 46 there.children[name] = nil |
47 end | 47 end |
48 end | 48 end |
49 for _, there_child in pairs(there.children) do | 49 for _, there_child in pairs(there.children) do |
50 if host.delete_unused(domain,password,there_child.path)==true then -- remove ==true later | 50 if host.delete_unused(domain,password,there_child.path) then |
51 print("deleted "..there_child.name) | 51 print("deleted "..there_child.name) |
52 end | 52 end |
53 end | 53 end |
54 else | 54 else |
55 error "not file or dir" | 55 error "not file or dir" |