diff options
Diffstat (limited to 'cmd-exec.go')
-rw-r--r-- | cmd-exec.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd-exec.go b/cmd-exec.go index c988f95..819b911 100644 --- a/cmd-exec.go +++ b/cmd-exec.go @@ -160,6 +160,10 @@ func execCmd(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: errStr := "" if res.code == 0 { |