Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit074d7a4

Browse files
JunYe1993williamspatrick
authored andcommitted
harma: mctp: setup-devices-eid: remove early exits in device setup flow
Remove the exit calls from each device setup function.Previously, if one device was missing, the script would exit on errorand prevent later devices from being configured.With this change, the script continues running and sets up allavailable devices, even if the system is not fully populated.Change-Id: I5cf0122675a9be8f597468d66129f1a6a0a20069Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>
1 parentb0a794f commit074d7a4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎meta-facebook/meta-harma/recipes-networking/mctp/files/setup-devices-eid‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ setup_bic_eid() {
4848

4949
if! retry_command"$learn_endpoint_cmd""$maxRetries" 1;then
5050
echo"[Error] Failed to learn BIC EID after$maxRetries attempts."
51-
exit 1
5251
fi
5352
}
5453

@@ -61,7 +60,6 @@ setup_nic_eid() {
6160

6261
if! retry_command"$assign_endpoint_cmd""$maxRetries" 1;then
6362
echo"[Error] Failed to assign NIC EID after$maxRetries attempts."
64-
exit 1
6563
fi
6664
}
6765

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp