diff options
| author | onefang | 2019-06-26 14:41:15 +1000 |
|---|---|---|
| committer | onefang | 2019-06-26 14:41:15 +1000 |
| commit | f20051fc1a55344b68de70aef965a3802d9aae79 (patch) | |
| tree | 272caf0a2b7674c92f1673bda9edc601b0e2ee01 | |
| parent | Sort DNS records in reverse order. (diff) | |
| download | apt-panopticon-f20051fc1a55344b68de70aef965a3802d9aae79.zip apt-panopticon-f20051fc1a55344b68de70aef965a3802d9aae79.tar.gz apt-panopticon-f20051fc1a55344b68de70aef965a3802d9aae79.tar.bz2 apt-panopticon-f20051fc1a55344b68de70aef965a3802d9aae79.tar.xz | |
Slightly more meaningfull output for the commmand checker.
| -rwxr-xr-x | mirror-checker.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua index e47f312..86528f3 100755 --- a/mirror-checker.lua +++ b/mirror-checker.lua | |||
| @@ -131,7 +131,7 @@ end | |||
| 131 | 131 | ||
| 132 | local checkExes = function (exe) | 132 | local checkExes = function (exe) |
| 133 | local count = io.popen('ps x | grep "' .. exe .. '" | grep -v " grep " | wc -l'):read("*l") | 133 | local count = io.popen('ps x | grep "' .. exe .. '" | grep -v " grep " | wc -l'):read("*l") |
| 134 | D(count .. " " .. exe .. " commands left.") | 134 | D(count .. " " .. exe .. " commands still running.") |
| 135 | return tonumber(count) | 135 | return tonumber(count) |
| 136 | end | 136 | end |
| 137 | 137 | ||
