Skip to content

Commit

Permalink
[service_mgmt]: Fix fetch MULTI_INST_DEPENDENT bug in service_mgmt.sh…
Browse files Browse the repository at this point in the history
….j2 (#2319)

What I did
Fix an obvious script typo in service_mgmt.sh.j2 to fetch the MULTI_INST_DEPENDENT

Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur authored Aug 25, 2022
1 parent d1a2d72 commit 42ed6d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic-utilities-data/templates/service_mgmt.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [[ -f /etc/sonic/${SERVICE}_dependent ]]; then
fi

if [[ -f /etc/sonic/${SERVICE}_multi_inst_dependent ]]; then
MULTI_INST_DEPENDENT="${MULTI_INST_DEPENDENT} cat /etc/sonic/${SERVICE}_multi_inst_dependent"
MULTI_INST_DEPENDENT="${MULTI_INST_DEPENDENT} $(cat /etc/sonic/${SERVICE}_multi_inst_dependent)"
fi

function debug()
Expand Down

0 comments on commit 42ed6d5

Please sign in to comment.