diff options
-rw-r--r-- | main.cxx | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -1275,9 +1275,17 @@ main (int argc, char * const argv []) cerr << "Pass 2: analysis failed. " << "Try again with another '--vp 01' option." << endl; + + /* Print out list of missing files. XXX should be "if (rc)" ? */ + missing_rpm_list_print(s); + + STAP_PROBE1(stap, pass2__end, &s); + + if (rc || s.listing_mode || s.last_pass == 2 || pending_interrupts) goto cleanup; + // Generate hash. There isn't any point in generating the hash // if last_pass is 2, since we'll quit before using it. - else if (s.last_pass != 2 && s.use_script_cache) + if (s.use_script_cache) { ostringstream o; unsigned saved_verbose; @@ -1306,13 +1314,6 @@ main (int argc, char * const argv []) } } - /* Print out list of missing files */ - missing_rpm_list_print(s); - - STAP_PROBE1(stap, pass2__end, &s); - - if (rc || s.listing_mode || s.last_pass == 2 || pending_interrupts) goto cleanup; - // PASS 3: TRANSLATION s.verbose = s.perpass_verbose[2]; times (& tms_before); |