aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-12 04:08:12 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-12 04:08:12 +0200
commit597099c664c9c00f485b088b5f29161b343fea0f (patch)
treec091abc9b34854f119b47d6c9010a636b692b1bb /src/mds.c
parentm (diff)
downloadmds-597099c664c9c00f485b088b5f29161b343fea0f.tar.gz
mds-597099c664c9c00f485b088b5f29161b343fea0f.tar.bz2
mds-597099c664c9c00f485b088b5f29161b343fea0f.tar.xz
m fix
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds.c')
-rw-r--r--src/mds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds.c b/src/mds.c
index 74cc994..042cb48 100644
--- a/src/mds.c
+++ b/src/mds.c
@@ -350,7 +350,7 @@ int spawn_and_respawn_server(int fd)
}
/* Respawn if the server did not die too fast. */
- if (time_end.tv_sec - time_start.tv_sec < RESPAWN_TIME_LIMIT_SECONDS)
+ if (time_end.tv_sec - time_start.tv_sec >= RESPAWN_TIME_LIMIT_SECONDS)
eprintf("%s died abnormally, respawning.", master_server);
else
{