Skip to content

Commit cbc4e6e

Browse files
committed
bin/xbps-query: fix back default/null values for package formats
1 parent aecab4c commit cbc4e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/xbps-query/list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ fmt_pkg_cb(FILE *fp, const struct xbps_fmt_var *var, void *data)
182182
return xbps_fmt_print_string(var, revision, 0, fp);
183183
}
184184

185-
return 0;
185+
return xbps_fmt_print_object(var, NULL, fp);
186186
}
187187

188188
static int

0 commit comments

Comments
 (0)