mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-27 17:06:42 +00: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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user