Skip to content

Commit

Permalink
Improve error string if nfs_mount fails in the rpc layer.
Browse files Browse the repository at this point in the history
Signed-off-by: sahlberg <[email protected]>
  • Loading branch information
sahlberg committed Dec 12, 2024
1 parent c921536 commit f5db527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libnfs-sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ nfs_mount(struct nfs_context *nfs, const char *server, const char *export)
rpc_disconnect(nfs->rpc, "disconnect to try different dialect");
ret = _nfs_mount(nfs, server, export);
}
nfs_set_error(nfs, rpc_get_error(nfs->rpc));

return ret;
}
Expand Down

0 comments on commit f5db527

Please sign in to comment.