diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/dtail/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/dtail/main.go b/cmd/dtail/main.go index 4285476..bc4236c 100644 --- a/cmd/dtail/main.go +++ b/cmd/dtail/main.go @@ -85,6 +85,7 @@ func main() { ctx, cancel := context.WithCancel(context.Background()) if shutdownAfter > 0 { + // TODO: This does not work (auto shutdown) ctx, cancel = context.WithTimeout(ctx, time.Duration(shutdownAfter)*time.Second) defer cancel() } |
