summaryrefslogtreecommitdiffstats
path: root/bin/cp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cp')
-rw-r--r--bin/cp/cp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index 0ae57eb..86dbb3c 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -466,6 +466,7 @@ copy(char *argv[], enum op type, int fts_options)
case S_IFSOCK:
warnx("%s is a socket (not copied).",
curr->fts_path);
+ break;
case S_IFIFO:
if (Rflag) {
if (copy_fifo(curr->fts_statp, !dne))
OpenPOWER on IntegriCloud