summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-08-10 15:17:35 -0700
committerJosh Stone <jistone@redhat.com>2009-08-10 15:17:35 -0700
commitaeb2727bd6742d8e4ff98882e57078f72da21b68 (patch)
tree1d8e64e172682055a3c0b8068f8dcf93dcc71042 /elaborate.cxx
parent7f17af5c9ace193eef48246bcadf42ae9650de67 (diff)
parenta09930468b2d2bae134067d50a9b15b5ba2af548 (diff)
downloadsystemtap-steved-aeb2727bd6742d8e4ff98882e57078f72da21b68.tar.gz
systemtap-steved-aeb2727bd6742d8e4ff98882e57078f72da21b68.tar.xz
systemtap-steved-aeb2727bd6742d8e4ff98882e57078f72da21b68.zip
Merge branch 'master' of ssh://sourceware.org/git/systemtap
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/elaborate.cxx b/elaborate.cxx
index 93500239..1d7f7930 100644
--- a/elaborate.cxx
+++ b/elaborate.cxx
@@ -1455,7 +1455,7 @@ semantic_pass (systemtap_session& s)
if (rc == 0) rc = semantic_pass_vars (s);
if (rc == 0) rc = semantic_pass_stats (s);
- if (s.probes.size() == 0 && !s.listing_mode)
+ if (s.num_errors() == 0 && s.probes.size() == 0 && !s.listing_mode)
throw semantic_error ("no probes found");
}
catch (const semantic_error& e)