plug_ins: Use exit_not_master/print_plug_in_header
Update several plug-ins as follows:
- Use exit_not_master where appropriate. See gen_plug_in_utils.py
exit_not_master prolog for more info.
- Change from using dprint_plug_vars to print_plug_in_header which is
more comprehensive.
Change-Id: I5dedb7ae1faaa0cc6344e6f7e45a02cbba01d3b5
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/bin/plug_ins/Stop/cp_stop_check b/bin/plug_ins/Stop/cp_stop_check
index 11527c9..9c7cca6 100755
--- a/bin/plug_ins/Stop/cp_stop_check
+++ b/bin/plug_ins/Stop/cp_stop_check
@@ -181,7 +181,7 @@
if not debug:
qprint_vars(STOP_REST_FAIL, STOP_COMMAND, AUTOBOOT_BOOT_SUCCESS)
- dprint_plug_vars()
+ print_plug_in_header()
rest_fail()