diff options
-rw-r--r-- | doc/info/mds.texinfo | 4 | ||||
-rw-r--r-- | src/libmdsserver/util.c | 3 |
2 files changed, 1 insertions, 6 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index fc96ca6..1628213 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -5162,9 +5162,7 @@ The kernel appends ` (deleted)' to so it cannot be replaced. @end enumerate -The function will should be called immediately, it -will store the content of @file{/proc/self/exe}. -Return zero on success and @code{-1} on error. +Returns zero on success and @code{-1} on error. @item @code{reexec_server} [(@code{int argc, char** argv, int reexeced}) @arrow{} @code{void}] Re-execute the server. If @code{prepare_reexec} diff --git a/src/libmdsserver/util.c b/src/libmdsserver/util.c index c5aee89..9160672 100644 --- a/src/libmdsserver/util.c +++ b/src/libmdsserver/util.c @@ -94,9 +94,6 @@ char* getenv_nonempty(const char* var) * `/proc/self/exe` once it has been removed, * so it cannot be replaced. * - * The function will should be called immediately, it - * will store the content of `/proc/self/exe`. - * * @return Zero on success, -1 on error */ int prepare_reexec(void) |