summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/elfcompress.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c5ecc05b..47c7eb79 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-12 Dmitry V. Levin <[email protected]>
+
+ * elfcompress.c (process_file): Set res to 0 in case of "Nothing to do".
+
2021-04-19 Martin Liska <[email protected]>
* elfclassify.c (run_classify): Use startswith.
diff --git a/src/elfcompress.c b/src/elfcompress.c
index d5bc3300..7340e878 100644
--- a/src/elfcompress.c
+++ b/src/elfcompress.c
@@ -522,6 +522,7 @@ process_file (const char *fname)
if (verbose > 0)
printf ("Nothing to do.\n");
fnew = NULL;
+ res = 0;
goto cleanup;
}