summaryrefslogtreecommitdiffstats
path: root/buildrun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'buildrun.cxx')
-rw-r--r--buildrun.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildrun.cxx b/buildrun.cxx
index 5f31303b..c23a4747 100644
--- a/buildrun.cxx
+++ b/buildrun.cxx
@@ -253,12 +253,12 @@ uprobes_pass (systemtap_session& s)
* stap must fail.
*/
int rc;
- if (geteuid() == 0) {
+ if (geteuid() == 0)
rc = make_uprobes(s);
- if (rc == 0)
- rc = copy_uprobes_symbols(s);
- } else
+ else
rc = verify_uprobes_uptodate(s);
+ if (rc == 0)
+ rc = copy_uprobes_symbols(s);
return rc;
}