aboutsummaryrefslogtreecommitdiff
path: root/qpkg.c
diff options
context:
space:
mode:
Diffstat (limited to 'qpkg.c')
-rw-r--r--qpkg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpkg.c b/qpkg.c
index 533e05c..7da0263 100644
--- a/qpkg.c
+++ b/qpkg.c
@@ -76,6 +76,8 @@ qpkg_clean(char *dirp)
return 1;
bin_pkgs = tree_get_atoms(pkgs, true, bin_pkgs);
+ if (bin_pkgs == NULL)
+ return 1;
array_set(bin_pkgs, bins);
if (eclean) {