aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 02d7d9e..37778ac 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -354,7 +354,7 @@ local fork = function(s)
354end 354end
355 355
356local checkExes = function (exe) 356local checkExes = function (exe)
357 local count = io.popen('ps x | grep "' .. exe .. '" | grep -v " grep " | wc -l'):read("*l") 357 local count = io.popen('ps x | grep "' .. exe .. '" | grep -v " grep " | grep -v "flock -n apt-panopticon.lock " | wc -l'):read("*l")
358 D(count .. " " .. exe .. " commands still running.") 358 D(count .. " " .. exe .. " commands still running.")
359 return tonumber(count) 359 return tonumber(count)
360end 360end