diff options
Diffstat (limited to 'aataaj.lua')
-rwxr-xr-x | aataaj.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |