If we must yell at the user than a file cannot be linked into place when
requested (not required) to do it, reassure them that cpio is still intelligent enough that it will perform a full copy instead.
This commit is contained in:
parent
69c0c78443
commit
9404c74f6c
@ -1,3 +1,4 @@
|
|||||||
|
/* $FreeBSD$ */
|
||||||
/* copypass.c - cpio copy pass sub-function.
|
/* copypass.c - cpio copy pass sub-function.
|
||||||
Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
|
Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
|
||||||
|
|
||||||
@ -466,7 +467,7 @@ link_to_name (link_name, link_target)
|
|||||||
}
|
}
|
||||||
else if (link_flag)
|
else if (link_flag)
|
||||||
{
|
{
|
||||||
error (0, errno, "cannot link %s to %s",
|
error (0, errno, "cannot link %s to %s (will copy instead)",
|
||||||
link_target, link_name);
|
link_target, link_name);
|
||||||
}
|
}
|
||||||
#endif /* not __MSDOS__ */
|
#endif /* not __MSDOS__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user