Skip to content

Commit a3e49b0

Browse files
committed
bin/xbps-install: print package is up to date message to stderr
1 parent c2387cf commit a3e49b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/xbps-install/transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ update_pkg(struct xbps_handle *xhp, const char *pkg, bool force)
366366

367367
rv = xbps_transaction_update_pkg(xhp, pkg, force);
368368
if (rv == EEXIST)
369-
printf("Package '%s' is up to date.\n", pkg);
369+
fprintf(stderr, "Package '%s' is up to date.\n", pkg);
370370
else if (rv == ENOENT)
371371
xbps_error_printf("Package '%s' not found in repository pool.\n", pkg);
372372
else if (rv == ENODEV)

0 commit comments

Comments
 (0)