X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=etc%2Fafpd%2Fhash.c;h=f0030f92ec3c101a2fcc1f29e9b222ca0b4977f7;hb=ce4484dc5e8562b3ed1876d9efd5d285800e9a22;hp=4861e8112589a7ffb8af67cd4ede9ad741067fb2;hpb=4b9386e5fdbc75f6a9215d1a010698a112f34386;p=netatalk.git diff --git a/etc/afpd/hash.c b/etc/afpd/hash.c index 4861e811..f0030f92 100644 --- a/etc/afpd/hash.c +++ b/etc/afpd/hash.c @@ -982,8 +982,10 @@ int main(void) "s switch to non-functioning allocator\n" "q quit"; - if (!h) + if (!h) { puts("hash_create failed"); + return 1; + } for (;;) { if (prompt)