diff options
Diffstat (limited to 'bin/ln/ln.c')
-rw-r--r-- | bin/ln/ln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ln/ln.c b/bin/ln/ln.c index 9be9824..f972ea8 100644 --- a/bin/ln/ln.c +++ b/bin/ln/ln.c @@ -148,7 +148,7 @@ linkit(target, source, isdir) * If the file exists, and -f was specified, unlink it. * Attempt the link. */ - if (fflag && exists && (unlink(source) || (*linkf)(target, source))) { + if ((fflag && exists && unlink(source)) || (*linkf)(target, source)) { warn("%s", source); return (1); } |