aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server.c')
-rw-r--r--src/mds-server.c5
1 files changed, 4 insertions, 1 deletions
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]);