1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

added warning

This commit is contained in:
Victor Vieux 2013-05-23 16:15:36 +00:00
parent 13f1939a63
commit 59835135c5

View file

@ -101,6 +101,9 @@ func removePidFile(pidfile string) {
}
func daemon(pidfile, addr string, port int, autoRestart bool) error {
if addr != "127.0.0.1" {
log.Println("/!\\ DON'T BIND ON ANOTHER IP ADDRESS THAN 127.0.0.1 IF YOU DON'T KNOW WHAT YOU'RE DOING /!\\")
}
if err := createPidFile(pidfile); err != nil {
log.Fatal(err)
}