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

master
Amadeusz Żołnowski 13 years ago
parent 24494cf593
commit bdd06ccce4

@ -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())) {

Loading…
Cancel
Save