small fix
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
025d74179b
commit
903d3e9888
2
ssm
2
ssm
|
@ -398,7 +398,7 @@ main() {
|
||||||
if [[ $1 == /* ]]; then
|
if [[ $1 == /* ]]; then
|
||||||
service_config=$1
|
service_config=$1
|
||||||
else
|
else
|
||||||
for i in "${service_path[@]/%//$service_name}"; do
|
for i in "${service_path[@]/%//$1}"; do
|
||||||
[[ -f "$i" ]] && {
|
[[ -f "$i" ]] && {
|
||||||
service_config=$i
|
service_config=$i
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user