diff options
Diffstat (limited to '')
| -rwxr-xr-x | aataaj.lua | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -200,7 +200,7 @@ APT.killEmAll = function(all) | |||
| 200 | local c = 0 | 200 | local c = 0 |
| 201 | while 0 ~= tonumber(APT.exe("pgrep -u $USER -xc " .. l):Do().result) do | 201 | while 0 ~= tonumber(APT.exe("pgrep -u $USER -xc " .. l):Do().result) do |
| 202 | local s = 'TERM' | 202 | local s = 'TERM' |
| 203 | if c > 0 then s = 'KILL' end | 203 | if c > 0 then s = 'KILL'; APT.exe("sleep " .. c):Do() end |
| 204 | print( "pkill -" .. s .. " -u $USER -x " .. l) | 204 | print( "pkill -" .. s .. " -u $USER -x " .. l) |
| 205 | APT.exe("pkill -" .. s .. " -u $USER -x " .. l):Do() | 205 | APT.exe("pkill -" .. s .. " -u $USER -x " .. l):Do() |
| 206 | c = c + 1 | 206 | c = c + 1 |
