diff options
-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); } |