summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rpmqv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 3baa58bf4..1db5f1e78 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -879,8 +879,8 @@ exit:
muntrace(); /* Trace malloc only if MALLOC_TRACE=mtrace-output-file. */
#endif
- /* XXX don't overflow single byte exit status */
- if (ec > 255) ec = 255;
+ /* XXX Avoid exit status overflow. Status 255 is special to xargs(1) */
+ if (ec > 254) ec = 254;
return ec;
}