Don't fail with an error if an attribute that is to be deleted does not exist
authorHeiko Hund <hhund@astaro.com>
Fri, 18 Jun 2010 03:01:06 +0000 (05:01 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 18 Jun 2010 03:01:06 +0000 (05:01 +0200)
src/libhydra/plugins/attr_sql/pool_attributes.c

index d59ca67..0ef1b4a 100644 (file)
@@ -441,8 +441,6 @@ void del_attr(char *name, char *value, value_type_t value_type)
                                                                 blob.len, blob.ptr);
                        }
                }
-               free(blob.ptr);
-               exit(EXIT_FAILURE);
        }
        free(blob.ptr);
 }