Package: systemtap / 4.0-1

suggest-readme.debian.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: suggest README.Debian if stap fails, many users don't know this even though they should
Author: Timo Juhani Lindfors <timo.lindfors@iki.fi>
Forwarded: not-needed
--- a/main.cxx
+++ b/main.cxx
@@ -1432,6 +1432,8 @@
     cleanup (s, rc);
 
     assert_no_interrupts();
+    if (rc)
+      cerr << _("Tip: /usr/share/doc/systemtap/README.Debian should help you get started.") << endl;
     return (rc) ? EXIT_FAILURE : EXIT_SUCCESS;
   }
   catch (const interrupt_exception& e) {