Skip to content

Commit 7d8579f

Browse files
authored
Merge pull request #242 from papertrail/no-detach-windows
Fix panic: cannot daemonize on windows
2 parents 5999b01 + 33d894c commit 7d8579f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func NewConfigFromEnv() (*Config, error) {
173173

174174
// override daemonize setting for platforms that don't support it
175175
if !utils.CanDaemonize {
176-
config.Set("no_daemonize", true)
176+
config.Set("no_detach", true)
177177
}
178178

179179
// unmarshal environment config into our Config object here

0 commit comments

Comments
 (0)