summaryrefslogtreecommitdiff
path: root/src/backend/autoremove.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/autoremove.py')
-rw-r--r--src/backend/autoremove.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/autoremove.py b/src/backend/autoremove.py
index 3dc717d..28d4f31 100644
--- a/src/backend/autoremove.py
+++ b/src/backend/autoremove.py
@@ -19,7 +19,7 @@ def start():
def startx():
portageExec = subprocess.Popen(['emerge', '--depclean'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killemerge.cliExec, portageExec)
+ atexit.register(sisyphus.killemerge.start, portageExec)
for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"):
print(portageOutput.rstrip())