diff options
| author | Paul Buetow <paul@buetow.org> | 2021-10-10 19:42:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2021-10-11 11:52:30 +0300 |
| commit | 71f89dc7ec7cf993d1eca98771212afe6310e9c8 (patch) | |
| tree | ca2812fb142b2d98f8a8092992a33d575329997a /cmd | |
| parent | f44792c9102488774c9993b080f35c65287a64b1 (diff) | |
refactor
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() } |
