summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-07-24 11:33:21 -0700
committerWayne Davison <wayne@opencoder.net>2020-07-24 11:33:21 -0700
commit842d6edfdcd1e0b2df819cdff321a1854c074112 (patch)
tree4d3a7626585bdcc99eba3cb5d416e154080f9b29 /options.c
parent92a8855ff3cbe2d5053952678510d27deb057262 (diff)
downloadrsync-842d6edfdcd1e0b2df819cdff321a1854c074112.tar.gz
Fix devices-fake test if rsync can't link specials
- Add info about hardlinked specials to --version output. - Use "no hardlink-special" info to ensure that the devices-fake test will not fail.
Diffstat (limited to 'options.c')
-rw-r--r--options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.c b/options.c
index d92a7665..aa61d348 100644
--- a/options.c
+++ b/options.c
@@ -608,6 +608,11 @@ static void print_info_flags(enum logcode f)
#endif
"hardlinks",
+#ifndef CAN_HARDLINK_SPECIAL
+ "no "
+#endif
+ "hardlink-special",
+
#ifndef SUPPORT_LINKS
"no "
#endif