summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorddomingo <ddomingo@redhat.com>2008-11-28 06:46:44 +1000
committerddomingo <ddomingo@redhat.com>2008-11-28 06:46:44 +1000
commite4f531a369df3fb680fa4c31c7b4127fa889cf34 (patch)
tree95214dc666fecb0522448a2a6a5329cd81742d05 /main.cxx
parentad970c8448ceeb844846251d994b5946e68be184 (diff)
parent708ce1f3a663fc765d589a7547c906d05791e5e1 (diff)
downloadsystemtap-steved-e4f531a369df3fb680fa4c31c7b4127fa889cf34.tar.gz
systemtap-steved-e4f531a369df3fb680fa4c31c7b4127fa889cf34.tar.xz
systemtap-steved-e4f531a369df3fb680fa4c31c7b4127fa889cf34.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
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;