diff options
-rw-r--r-- | utils/mount/stropts.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/mount/stropts.c b/utils/mount/stropts.c index d5dfb5e..7b1ad93 100644 --- a/utils/mount/stropts.c +++ b/utils/mount/stropts.c @@ -990,10 +990,8 @@ static int nfsmount_fg(struct nfsmount_info *mi) if (nfs_is_permanent_error(errno)) break; - if (time(NULL) > timeout) { - errno = ETIMEDOUT; + if (time(NULL) > timeout) break; - } if (errno != ETIMEDOUT) { if (sleep(secs)) |