Fix SCP using pre-define rule
This need a proper fix.
Change-Id: I9d8f930b995d87059fe8ad412abcb028501fc419
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/ffdc_collector.py b/ffdc/ffdc_collector.py
index 15add9a..9c1a47a 100644
--- a/ffdc/ffdc_collector.py
+++ b/ffdc/ffdc_collector.py
@@ -510,7 +510,7 @@
for command in list_of_commands:
try:
- filename = command.split(' ')[2]
+ filename = command.split('ls -AX')[1]
except IndexError:
self.logger.info("\t\tInvalid command %s" % command)
continue