Skip to content

Commit 9dd3d9b

Browse files
dlorencdlorenc
dlorenc
authored andcommitted
Fix non-systemd none driver.
1 parent 4cc246e commit 9dd3d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/minikube/bootstrapper/localkube/commands.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var localkubeStartCmdTemplate = "/usr/local/bin/localkube {{.Flags}} --generate-
3434

3535
var startCommandNoSystemdTemplate = `
3636
# Run with nohup so it stays up. Redirect logs to useful places.
37-
sudo sh -c 'PATH=/usr/local/sbin:$PATH nohup GODEBUG=netdns=go {{.LocalkubeStartCmd}} > {{.Stdout}} 2> {{.Stderr}} < /dev/null & echo $! > {{.Pidfile}} &'
37+
sudo sh -c 'PATH=/usr/local/sbin:$PATH GODEBUG=netdns=go nohup {{.LocalkubeStartCmd}} > {{.Stdout}} 2> {{.Stderr}} < /dev/null & echo $! > {{.Pidfile}} &'
3838
`
3939

4040
var localkubeSystemdTmpl = `[Unit]

0 commit comments

Comments
 (0)