summaryrefslogtreecommitdiffstats
path: root/cmd-sdks.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-sdks.go')
-rw-r--r--cmd-sdks.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd-sdks.go b/cmd-sdks.go
index eeebffa..e4012e7 100644
--- a/cmd-sdks.go
+++ b/cmd-sdks.go
@@ -305,6 +305,10 @@ func sdksInstall(ctx *cli.Context) error {
// Wait exit
select {
+ case res := <-IOSkClient.ServerDiscoChan:
+ Log.Debugf("XDS Server disconnected %v", res)
+ return cli.NewExitError(res.error, res.code)
+
case res := <-exitChan:
if res.code == 0 {
Log.Debugln("Exit successfully")