diff options
Diffstat (limited to 'src/policy.c')
-rw-r--r-- | src/policy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/policy.c b/src/policy.c index 773cf69..25d39b3 100644 --- a/src/policy.c +++ b/src/policy.c @@ -22,6 +22,9 @@ static void print_policy(struct apk_database *db, const char *match, struct apk_ struct apk_provider *p; struct apk_repository *repo; int i, j, num = 0; + + if (!name) return; + /* zlib1g policy: 2.0: |