action: extend logging to handle log if action TRUE and log if action FALSE

Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
2 files changed