summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-29 03:22:46 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-29 03:22:46 +0000
commit0e3a2146721b927c123d378a859b41648607c573 (patch)
tree093ebdcbb89c537c65291297d9ad8461ee3603ad
parent5e0fb202f33123a89ed415650998ee7050e9766e (diff)
downloadurpmi-0e3a2146721b927c123d378a859b41648607c573.tar
urpmi-0e3a2146721b927c123d378a859b41648607c573.tar.gz
urpmi-0e3a2146721b927c123d378a859b41648607c573.tar.bz2
urpmi-0e3a2146721b927c123d378a859b41648607c573.tar.xz
urpmi-0e3a2146721b927c123d378a859b41648607c573.zip
Enable to use Devel::Trace with urpmi
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 3137dd19..efe19300 100755
--- a/urpmi
+++ b/urpmi
@@ -236,7 +236,7 @@ Use --allow-force to force operation.", $urpm::sys::mountpoint));
my ($pid_out, $pid_err);
open SAVEOUT, ">&STDOUT"; select SAVEOUT; $| = 1;
open SAVEERR, ">&STDERR"; select SAVEERR; $| = 1;
-if ($log) {
+if ($log && !$INC{"Devel/Trace.pm"}) {
#- log only at this point in case of query usage.
log_it(scalar localtime, " urpmi called with $command_line\n");