aboutsummaryrefslogtreecommitdiffstats
path: root/src/fcopy
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcopy')
-rw-r--r--src/fcopy/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcopy/main.c b/src/fcopy/main.c
index 753d9c0a0..913234702 100644
--- a/src/fcopy/main.c
+++ b/src/fcopy/main.c
@@ -122,7 +122,7 @@ void copy_link(const char *target, const char *linkpath, mode_t mode, uid_t uid,
122 // if the link is already there, don't create it 122 // if the link is already there, don't create it
123 struct stat s; 123 struct stat s;
124 if (stat(linkpath, &s) == 0) 124 if (stat(linkpath, &s) == 0)
125 return; 125 return;
126 126
127 char *rp = realpath(target, NULL); 127 char *rp = realpath(target, NULL);
128 if (rp) { 128 if (rp) {