Fix PID 0 issue
This commit is contained in:
parent
d5f85fb62a
commit
a5cb840a61
@ -218,8 +218,9 @@ def mainloop(pool):
|
||||
tmplist = settings["badapps"]
|
||||
settings["badapps"] = list()
|
||||
for x in tmplist:
|
||||
send_notification("Killing PID " + str(x))
|
||||
kill(x)
|
||||
if x > 0:
|
||||
send_notification("Killing PID " + str(x))
|
||||
kill(x)
|
||||
|
||||
if settings["fwll"] == True:
|
||||
global history
|
||||
|
@ -7,4 +7,4 @@ pyyaml
|
||||
numpy
|
||||
bcrypt
|
||||
plyer
|
||||
playsound
|
||||
playsound==1.2.2
|
Loading…
x
Reference in New Issue
Block a user