Permalink
Browse files

"hook= name= runlvl= plyd=" surrounded with #ifdef DEBUG

  • Loading branch information...
1 parent 24494cf commit bdd06ccce40c68f3089da0254c823095565ddfa5 @aidecoe committed May 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 plymouth.c
View
@@ -152,8 +152,10 @@ int rc_plugin_hook(RC_HOOK hook, const char *name)
const char* bootlevel = getenv("RC_BOOTLEVEL");
const char* defaultlevel = getenv("RC_DEFAULTLEVEL");
+#ifdef DEBUG
einfo("hook=%d name=%s runlvl=%s plyd=%d", hook, name, runlevel,
ply_ping());
+#endif
/* Don't do anything if we're not booting or shutting down. */
if(!(rc_runlevel_starting() || rc_runlevel_stopping())) {

0 comments on commit bdd06cc

Please sign in to comment.