diff options
author | Loic Dachary <loic-201408@dachary.org> | 2014-09-15 20:21:14 +0200 |
---|---|---|
committer | Loic Dachary <loic-201408@dachary.org> | 2014-09-15 20:21:14 +0200 |
commit | ded1b303b586c414801097541752dd0c6eba3ad1 (patch) | |
tree | 7e0d237308420b895718cdcba2a22d1f558708eb /src/ceph_mon.cc | |
parent | Merge pull request #2477 from ceph/wip-client-msg-leak (diff) | |
download | ceph-ded1b303b586c414801097541752dd0c6eba3ad1.tar.xz ceph-ded1b303b586c414801097541752dd0c6eba3ad1.zip |
erasure-code: preload fails if < 0
And not if < -1.
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Diffstat (limited to 'src/ceph_mon.cc')
-rw-r--r-- | src/ceph_mon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ceph_mon.cc b/src/ceph_mon.cc index 97d749351fc..3ff033f7f9d 100644 --- a/src/ceph_mon.cc +++ b/src/ceph_mon.cc @@ -482,7 +482,7 @@ int main(int argc, const char **argv) } common_init_finish(g_ceph_context); global_init_chdir(g_ceph_context); - if (preload_erasure_code() < -1) + if (preload_erasure_code() < 0) prefork.exit(1); } |