diff options
-rwxr-xr-x | perl-install/standalone/drakbug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index c5f1e8c0e..a6715bfbd 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -174,8 +174,8 @@ sub update_app { sub get_package { my ($executable) = @_; my ($rpm_package, $which_app); - $which_app = chomp_(`which '$executable'`); - $rpm_package = chomp_(`rpm -qf '$which_app' 2>1&`); + $which_app = chomp_(`which '$executable' 2> /dev/null`); + $rpm_package = chomp_(`rpm -qf '$which_app' 2>&1`); $rpm_package; } |