diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-02 18:29:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-02 18:29:08 +0000 |
commit | e1dfe562e71e01062bfa92124c8c3c684a4e6280 (patch) | |
tree | dcb460ee9e62f04b93550c1cb9f8c51aa9af1df7 | |
parent | e6d6502758210991a8fff3159b62f386138f6477 (diff) | |
download | urpmi-e1dfe562e71e01062bfa92124c8c3c684a4e6280.tar urpmi-e1dfe562e71e01062bfa92124c8c3c684a4e6280.tar.gz urpmi-e1dfe562e71e01062bfa92124c8c3c684a4e6280.tar.bz2 urpmi-e1dfe562e71e01062bfa92124c8c3c684a4e6280.tar.xz urpmi-e1dfe562e71e01062bfa92124c8c3c684a4e6280.zip |
fix debugging urpmf callback
-rwxr-xr-x | urpmf | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -176,11 +176,10 @@ my $callback = join("\n", '0;'), "}"); -our $debug; -$urpm->{error}("qf:[$qf]\ncallback:\n$callback") if $debug; +$urpm->{debug}("qf:[$qf]\ncallback:\n$callback") if $urpm->{debug}; $callback = eval $callback; if ($@) { - $debug and warn "Internal error: $@\n"; + warn "Internal error: $@\n"; exit(1); } |