diff options
Diffstat (limited to 'apt-panopticon.lua')
-rwxr-xr-x | apt-panopticon.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua index 793a80f..a36b229 100755 --- a/apt-panopticon.lua +++ b/apt-panopticon.lua | |||
@@ -1144,7 +1144,12 @@ else | |||
1144 | end | 1144 | end |
1145 | end | 1145 | end |
1146 | 1146 | ||
1147 | os.execute('sleep 1') -- Wait for things to start up before checking for them. | 1147 | while not APT.checkFile('results/LOG_' .. APT.options.referenceSite.value .. '.html') do -- Wait for things to start up before checking for them. |
1148 | D('Waiting for results/LOG_' .. APT.options.referenceSite.value .. '.html'); | ||
1149 | os.execute("sleep 5") | ||
1150 | -- TODO - count these, and abort if it takes too long. | ||
1151 | -- Try something similar for the other "Wait for things to start up before checking for them.", maybe fold it into APT.exe. | ||
1152 | end | ||
1148 | while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 5") end | 1153 | while 1 <= APT.checkExes("apt-panopticon.lua " .. sendArgs) do os.execute("sleep 5") end |
1149 | 1154 | ||
1150 | local APT_args = APT.args | 1155 | local APT_args = APT.args |