Skip to content

Commit 154c9cc

Browse files
authored
Defaults: fix error in building config paths list (#489)
1 parent 9e6617d commit 154c9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ClusterShell/Defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _distant_workerclass(defaults):
9292
def config_paths(config_name):
9393
"""Return default path list for a ClusterShell config file name."""
9494
return [os.path.join(os.environ.get('CLUSTERSHELL_CFGDIR',
95-
'/etc/clustershell/%s'),
95+
'/etc/clustershell'),
9696
config_name), # global config file
9797
# default pip --user config file
9898
os.path.expanduser('~/.local/etc/clustershell/%s' % config_name),

0 commit comments

Comments
 (0)