mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 06:19:10 -07:00
launchd - fixed validation check (#2960)
* replaced use of expanduser() with value from HOME var * fixed sanity check * added changelog fragment
This commit is contained in:
parent
ad8c4e4de6
commit
1990f79d8a
6 changed files with 3 additions and 5 deletions
|
@ -159,7 +159,7 @@ class Plist:
|
|||
"""Finds the plist file associated with a service"""
|
||||
|
||||
launchd_paths = [
|
||||
os.path.expanduser('~/Library/LaunchAgents'),
|
||||
os.path.join(os.getenv('HOME'), 'Library/LaunchAgents'),
|
||||
'/Library/LaunchAgents',
|
||||
'/Library/LaunchDaemons',
|
||||
'/System/Library/LaunchAgents',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue