From 7126310f082a184c4142525aa912cf1c9c1e67a5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 3 May 2014 20:59:09 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mds-server.c b/src/mds-server.c index d0259f3..e23e470 100644 --- a/src/mds-server.c +++ b/src/mds-server.c @@ -343,7 +343,10 @@ int main(int argc_, char** argv_) /* Marshal the state of the server. */ if (pipe(pipe_rw) < 0) - goto reexec_fail; + { + perror(*argv); + return 1; + } if (marshal_server(pipe_rw[1]) < 0) goto reexec_fail; close(pipe_rw[1]); -- cgit v1.2.3-70-g09d2