diff options
Diffstat (limited to 'ports/unix/guts/linkat.c')
-rw-r--r-- | ports/unix/guts/linkat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/unix/guts/linkat.c b/ports/unix/guts/linkat.c index fe29b39..ec27e47 100644 --- a/ports/unix/guts/linkat.c +++ b/ports/unix/guts/linkat.c @@ -55,7 +55,7 @@ return rc; } msg = pseudo_client_op(OP_STAT, 0, -1, -1, oldpath, &buf); - if (msg) { + if (msg && msg->result == RESULT_SUCCEED) { pseudo_stat_msg(&buf, msg); } /* Long story short: I am pretty sure we still want OP_LINK even |