summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-08 13:14:49 -0700
committerJosh Stone <jistone@redhat.com>2009-05-08 13:14:49 -0700
commit620c2105eb1d928b97769006eb6eed79d6998531 (patch)
treede8b36925d1d18daa150268647f0283cdcd3a7b3 /buildrun.cxx
parent7da77276c8a703a4dab1ed242801f3afd38864ea (diff)
downloadsystemtap-steved-620c2105eb1d928b97769006eb6eed79d6998531.tar.gz
systemtap-steved-620c2105eb1d928b97769006eb6eed79d6998531.tar.xz
systemtap-steved-620c2105eb1d928b97769006eb6eed79d6998531.zip
Don't attempt NSS if the module failed to build
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 1b441144..54aa5d4f 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -227,7 +227,8 @@ compile_pass (systemtap_session& s)
// Failure to do so is not a fatal error. If the signature is actually needed,
// staprun will complain at that time.
assert (! s.cert_db_path.empty());
- sign_module (s);
+ if (!rc)
+ sign_module (s);
#endif
return rc;