Skip to content

Commit e125637

Browse files
committed
fixup! feat(agent): Handle signals and shutdown gracefully
1 parent c083608 commit e125637

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/agent.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ func workspaceAgent() *cobra.Command {
7777

7878
// Handle interrupt signals to allow for graceful shutdown,
7979
// note that calling stopNotify disables the signal handler
80-
// and the next interrupt will terminate the program.
80+
// and the next interrupt will terminate the program (you
81+
// probably want cancel instead).
8182
//
8283
// Note that we don't want to handle these signals in the
8384
// process that runs as PID 1, that's why we do this after

0 commit comments

Comments
 (0)