Skip to content

Commit

Permalink
chore: remove os.Exit - unnecessary call
Browse files Browse the repository at this point in the history
  • Loading branch information
braginini committed Jun 22, 2021
1 parent 52db303 commit bbfbf79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ var (
//signalClient.WaitConnected()

SetupCloseHandler()
code := <-stopUP
<-stopUP
log.Println("Receive signal to stop running")
os.Exit(code)
},
}
)
Expand Down

0 comments on commit bbfbf79

Please sign in to comment.