]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Don't use exit(ERANGE)
authorNeilBrown <neilb@suse.com>
Fri, 4 Aug 2017 05:30:02 +0000 (15:30 +1000)
committerJes Sorensen <jsorensen@fb.com>
Wed, 16 Aug 2017 12:25:07 +0000 (08:25 -0400)
commitdcd24efcfab50c3c298d9b1c941edb6954c2677e
tree4e17343ab3d01fac8f1e6f68088689a0443e399d
parent6438c249c4fed92cf6e5fb492d19f4c4f516ff6f
Don't use exit(ERANGE)

mdadm uses smaller exit codes like 0,1,2,3,4.
Using ERANGE is inconsistent and not helpful.
So change it to a more consistent number.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
mdadm.c