diff options
Diffstat (limited to 'ln.c')
-rw-r--r-- | ln.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -96,7 +96,7 @@ extern int ln_main(int argc, char **argv) linkIntoDirFlag = isDirectory(linkName, TRUE, NULL); - if ((argc > 3) && !linkIntoDirFlag) { + if ((argc >= 3) && linkIntoDirFlag == FALSE) { fprintf(stderr, not_a_directory, "ln", linkName); exit FALSE; } |