X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=attribute.c;h=e0a7392fdc99d86f6225c5ac43e1ab690e0bce50;hp=d34f7d6371f7995f17a23fa9df4d3ec8b39f363e;hb=c458b9d45e7c6ddda6285fca3797fddff815bd0a;hpb=5a5fe7330e078cd43ce9d90fe2cc67058015e6da diff --git a/attribute.c b/attribute.c index d34f7d63..e0a7392f 100644 --- a/attribute.c +++ b/attribute.c @@ -538,7 +538,7 @@ int attribute_init(struct table_info *ti, const char *db) return ret; } attribute_table = NULL; - if (ret == -E_NOENT) + if (ret >= 0 || is_errno(-ret, ENOENT)) return 1; return ret; }