From: Michael Tremer Date: Sun, 16 Feb 2025 15:53:49 +0000 (+0000) Subject: cli: pakfire: Log everything to the console by default X-Git-Tag: 0.9.30~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c86c16b12498e0bbebb73ef8eda9eaa32c9764dd;p=pakfire.git cli: pakfire: Log everything to the console by default Signed-off-by: Michael Tremer --- diff --git a/src/cli/pakfire.c b/src/cli/pakfire.c index d60023f7..7beec9d8 100644 --- a/src/cli/pakfire.c +++ b/src/cli/pakfire.c @@ -145,6 +145,9 @@ int main(int argc, char* argv[]) { if (r) goto ERROR; + // Write logs to the console + pakfire_ctx_set_log_callback(ctx, pakfire_log_stderr, NULL); + // Make this all interactive pakfire_ctx_set_confirm_callback(ctx, cli_term_confirm, NULL);