Fix FFDC log command

Change-Id: Ib1f090d5d3c687fceeedbec7c54449c70260633a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index 705c6cb..064c24d 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -70,7 +70,8 @@
         'bmcweb_persistent_data.json': 'cat /home/root/bmcweb_persistent_data.json'
         + ' > /tmp/bmcweb_persistent_data.json',
         'GUARD_list.txt': 'guard -l > /tmp/GUARD_list.txt 2>&1',
-        'fan_control_dump.json': 'fanctl dump 2>&1',
+        'fan_control_dump.json': 'fanctl dump; cat /tmp/fan_control_dump.json'
+        + ' /tmp/fan_control_dump.json 2>&1',
     },
 }
 # Add file name and corresponding command needed for all Linux distributions