Added check for no dump in progress before deleting all dumps.

Resolves openbmc/openbmc-test-automation#1057

Change-Id: Ied4a0857092bff09c0ab284c988d65fe14220644
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
2 files changed