Don't print stderr output of commands (send to stdout).

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-03-28 10:37:46 +01:00
parent 3822696640
commit f55124759e

View File

@ -139,7 +139,7 @@ $n, $tx->{action}, $tx->{pkg_name}
sub get_pkgmgr() {
my $mgr = $ENV{DEFAULT_PKGMGR} // 'pacman';
my $mgr_bin = `which $mgr`;
my $mgr_bin = `which $mgr 2>&1`;
if ($? != 0) {
print(STDERR "Failed to find pacman executable. Are you using an ArchLinux system?\n");