FFDC to handle root and sudo user

Added bash -c; just to fake load the command bash so that
it doesnt hang in bash and continue execution shell command

Change-Id: I5254a2ed83e4ca8b4fef0edf3055641504414205
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/dump_utils.py b/lib/dump_utils.py
index add5f5b..cf4a30f 100755
--- a/lib/dump_utils.py
+++ b/lib/dump_utils.py
@@ -48,7 +48,7 @@
     """
 
     quiet = int(gp.get_var_value(quiet, 1))
-    cmd_buf = "dump_dir_path=" + var.DUMP_DIR_PATH + " ; " \
+    cmd_buf = "bash -c;dump_dir_path=" + var.DUMP_DIR_PATH + " ; " \
               + "for dump_id in $(ls ${dump_dir_path} | sort -n) ; do " \
               + "file_path=$(ls ${dump_dir_path}${dump_id}/* 2>/dev/null)" \
               + " || continue ; echo ${dump_id}:${file_path} ; done"
@@ -157,7 +157,7 @@
     """
 
     quiet = int(gp.get_var_value(quiet, 1))
-    cmd_buf = "dump_hb_dir_path=" + var.DUMP_HB_DIR_PATH + " ; " \
+    cmd_buf = "bash-c;dump_hb_dir_path=" + var.DUMP_HB_DIR_PATH + " ; " \
               + "for dump_id in $(ls ${dump_hb_dir_path} | sort -n) ; do " \
               + "file_path=$(ls ${dump_hb_dir_path}${dump_id}/* 2>/dev/null)" \
               + " || continue ; echo ${dump_id}:${file_path} ; done"