cfg_path bugfix

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2017-12-10 20:13:51 +03:00
parent 6f2db37dff
commit 32b26b5783

2
ssm
View File

@ -379,7 +379,7 @@ main() {
service_path+=( '/etc/ssm/services' "$rundir/services" "$usrdir/services" ) service_path+=( '/etc/ssm/services' "$rundir/services" "$usrdir/services" )
# Common config path # Common config path
cfg_path+=( '/etc/ssm/conf.d' ) cfg_path+=( '/etc/ssm' )
# Load custom functions # Load custom functions
for (( idx=${#cfg_path[@]}-1; idx>=0; idx-- )); do for (( idx=${#cfg_path[@]}-1; idx>=0; idx-- )); do