Blame SOURCES/cpio-2.9-exitCode.patch

ca6c51
From: Peter Vrabec <pvrabec@redhat.com>
ca6c51
Date: Mon, 14 Sep 2015 09:31:08 +0200
ca6c51
Subject: [PATCH 2/7] set exit code to 1 when cpio fails to store file > 4GB
ca6c51
 (#183224)
ca6c51
ca6c51
diff --git a/src/copyout.c b/src/copyout.c
ca6c51
index 1f0987a..dcae449 100644
ca6c51
--- a/src/copyout.c
ca6c51
+++ b/src/copyout.c
ca6c51
@@ -287,7 +287,7 @@ to_ascii (char *where, uintmax_t v, size_t digits, unsigned logbase)
ca6c51
 static void
ca6c51
 field_width_error (const char *filename, const char *fieldname)
ca6c51
 {
ca6c51
-  error (0, 0, _("%s: field width not sufficient for storing %s"),
ca6c51
+  error (1, 0, _("%s: field width not sufficient for storing %s"),
ca6c51
 	 filename, fieldname);
ca6c51
 }
ca6c51