summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-08-30 23:04:53 +0000
committerJim Meyering <jim@meyering.net>2002-08-30 23:04:53 +0000
commit74887031996e79df07dae9711f08d80839b31e62 (patch)
treed249c7ea293b5540ca108f3b40733401544b29ba /src/cp.c
parent6c80ecd8d5d3a0642f8cf321f9750f50314ea939 (diff)
downloadcoreutils-74887031996e79df07dae9711f08d80839b31e62.tar.xz
Change `error (1, ...' to `error (EXIT_FAILURE, ...'.
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cp.c b/src/cp.c
index 676e2fbaa..36a66e059 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -968,7 +968,8 @@ main (int argc, char **argv)
#ifdef S_ISLNK
x.symbolic_link = 1;
#else
- error (1, 0, _("symbolic links are not supported on this system"));
+ error (EXIT_FAILURE, 0,
+ _("symbolic links are not supported on this system"));
#endif
break;