mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 14:22:17 +03:00
delete polkit file when logout
This commit is contained in:
parent
00ba99b216
commit
7f70966cc4
2 changed files with 3 additions and 2 deletions
|
@ -45,8 +45,9 @@ class CommandRunner(object):
|
||||||
self.logger.info('Ahenk polkit file not found')
|
self.logger.info('Ahenk polkit file not found')
|
||||||
else:
|
else:
|
||||||
Util.delete_file(ahenk_policy_file)
|
Util.delete_file(ahenk_policy_file)
|
||||||
Util.write_file(ahenk_policy_file, content)
|
self.logger.info("Delete polkit file")
|
||||||
self.logger.info('Root added ahenk polkit file')
|
# Util.write_file(ahenk_policy_file, content)
|
||||||
|
# self.logger.info('Root added ahenk polkit file')
|
||||||
|
|
||||||
def run_command_from_fifo(self, num, stack):
|
def run_command_from_fifo(self, num, stack):
|
||||||
""" docstring"""
|
""" docstring"""
|
||||||
|
|
0
src/plugins/resource-usage/agent_info
Normal file
0
src/plugins/resource-usage/agent_info
Normal file
Loading…
Reference in a new issue