aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xaataaj.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/aataaj.lua b/aataaj.lua
index b139faa..761163e 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -198,7 +198,7 @@ APT.killEmAll = function(all)
198 local c = 0 198 local c = 0
199 while 0 ~= tonumber(APT.exe("pgrep -u $USER -xc " .. l):Do().lines[1]) do 199 while 0 ~= tonumber(APT.exe("pgrep -u $USER -xc " .. l):Do().lines[1]) do
200 local s = 'TERM' 200 local s = 'TERM'
201 if c > 0 then s = 'KILL'; APT.exe("sleep " .. c):Do() end 201 if c > 1 then s = 'KILL'; APT.exe("sleep " .. c):Do() end
202 print( "pkill -" .. s .. " -u $USER -x " .. l) 202 print( "pkill -" .. s .. " -u $USER -x " .. l)
203 APT.exe("pkill -" .. s .. " -u $USER -x " .. l):Do() 203 APT.exe("pkill -" .. s .. " -u $USER -x " .. l):Do()
204 c = c + 1 204 c = c + 1