Skip to content

Commit 550b763

Browse files
committed
Update dnsconfig.go
1 parent 4bced3d commit 550b763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnsconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func (d *DnsConfig) SetDockerDNSServer(cmd Command, configPath, tempDir string)
171171

172172
// reload will apply the live-restore config so running containers restart after docker is restarted
173173
if !mock {
174-
cmd = exec.Command("/bin/sh", "-c", "sudo systemctl daemon-reload && sudo systemctl reload docker")
174+
cmd = exec.Command("/bin/sh", "-c", "sudo systemctl reload docker")
175175
}
176176

177177
err = cmd.Run()

0 commit comments

Comments
 (0)