You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
615 B
19 lines
615 B
From: Peter Vrabec <pvrabec@redhat.com>
|
|
Date: Mon, 14 Sep 2015 09:31:08 +0200
|
|
Subject: [PATCH 2/7] set exit code to 1 when cpio fails to store file > 4GB
|
|
(#183224)
|
|
|
|
diff --git a/src/copyout.c b/src/copyout.c
|
|
index 1f0987a..dcae449 100644
|
|
--- a/src/copyout.c
|
|
+++ b/src/copyout.c
|
|
@@ -287,7 +287,7 @@ to_ascii (char *where, uintmax_t v, size_t digits, unsigned logbase)
|
|
static void
|
|
field_width_error (const char *filename, const char *fieldname)
|
|
{
|
|
- error (0, 0, _("%s: field width not sufficient for storing %s"),
|
|
+ error (1, 0, _("%s: field width not sufficient for storing %s"),
|
|
filename, fieldname);
|
|
}
|
|
|