Fix error reporting when probe_bothports() fails while rewriting mount
[nfs-utils.git] / utils / mount / error.c
index 23a91ff..147e919 100644 (file)
@@ -227,6 +227,9 @@ void mount_error(const char *spec, const char *mount_point, int error)
                        nfs_error(_("%s: mount point %s does not exist"),
                                progname, mount_point);
                break;
+       case ESPIPE:
+               rpc_mount_errors((char *)spec, 0, 0);
+               break;
        case EIO:
        case EFAULT:
                nfs_error(_("%s: internal error"), progname);