From 0824bc7f7c7b85d301b3c45162d676646f6e9c9a Mon Sep 17 00:00:00 2001 From: mpl Date: Thu, 15 Nov 2012 18:57:53 +0100 Subject: [PATCH] Pointer to minux codereview to do the restart on darwin Change-Id: I077803b367b543f998d5d25026db2be477963bf8 --- pkg/osutil/restart_unix.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/osutil/restart_unix.go b/pkg/osutil/restart_unix.go index a3a57940a..03d4dd4a1 100644 --- a/pkg/osutil/restart_unix.go +++ b/pkg/osutil/restart_unix.go @@ -40,7 +40,8 @@ func selfPath() (string, error) { case "openbsd": return "/proc/curproc/file", nil case "darwin": - // TODO(mpl): shall we do the whole dance for darwin, which requires modifying the runtime as well, if I understood minux's work correctly? + // TODO(mpl): maybe do the right thing for darwin too, but that may require changes to runtime. + // See https://codereview.appspot.com/6736069/ return os.Args[0], nil } return "", errors.New("No restart because selfPath() not implemented for " + runtime.GOOS)