summaryrefslogtreecommitdiff
path: root/futility
diff options
context:
space:
mode:
Diffstat (limited to 'futility')
-rw-r--r--futility/updater.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/futility/updater.c b/futility/updater.c
index c737f16f..d68a3cff 100644
--- a/futility/updater.c
+++ b/futility/updater.c
@@ -313,6 +313,8 @@ static int host_flashrom(enum flashrom_ops op, const char *image_path,
if (op != FLASHROM_WP_STATUS) {
r = system(command);
free(command);
+ if (r)
+ ERROR("Error code: %d", r);
return r;
}