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:
parent
3822696640
commit
f55124759e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user