aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-03 20:59:09 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-03 20:59:09 +0200
commit7126310f082a184c4142525aa912cf1c9c1e67a5 (patch)
treeb0e5479d4537d9611ecd85b11ddd325a1f21ba64
parentcompile-time configurable api-fs path (diff)
downloadmds-7126310f082a184c4142525aa912cf1c9c1e67a5.tar.gz
mds-7126310f082a184c4142525aa912cf1c9c1e67a5.tar.bz2
mds-7126310f082a184c4142525aa912cf1c9c1e67a5.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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]);