]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/hash.c
fce: afpd: fix event names array
[netatalk.git] / etc / afpd / hash.c
index d88cb0c28767cd2706dfd93d6d00ccee460a1ae1..a7c624d48b4c8603ceb9aca2ed046001d89b9da7 100644 (file)
@@ -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)