summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2008-11-27 10:52:47 -0500
committerFrank Ch. Eigler <fche@elastic.org>2008-11-27 10:52:47 -0500
commit708ce1f3a663fc765d589a7547c906d05791e5e1 (patch)
treef70731fcf57e9d2ea5aeac5e866e9cc43a0be08d /main.cxx
parentd3dc1c0b33e615f9c1b8eb6c7b12bc062f3d9de4 (diff)
downloadsystemtap-steved-708ce1f3a663fc765d589a7547c906d05791e5e1.tar.gz
systemtap-steved-708ce1f3a663fc765d589a7547c906d05791e5e1.tar.xz
systemtap-steved-708ce1f3a663fc765d589a7547c906d05791e5e1.zip
PR7035: don't suppress all error messages during listings mode
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cxx b/main.cxx
index 0cc47804..91c20ddb 100644
--- a/main.cxx
+++ b/main.cxx
@@ -939,7 +939,7 @@ main (int argc, char * const argv [])
<< endl;
}
- if (rc)
+ if (rc && !s.listing_mode)
cerr << "Pass 1: parse failed. "
<< "Try again with another '--vp 1' option."
<< endl;
@@ -967,7 +967,7 @@ main (int argc, char * const argv [])
<< TIMESPRINT
<< endl;
- if (rc)
+ if (rc && !s.listing_mode)
cerr << "Pass 2: analysis failed. "
<< "Try again with another '--vp 01' option."
<< endl;