diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-07-14 10:13:16 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-07-14 10:13:16 +0000 |
commit | 3b0e4faeaf38e234b8c1209ec92824691503995f (patch) | |
tree | c9840816a276836eb19b17c96e34d10b7c96ac90 /util | |
parent | ec3f6e4c0d5b3f1a1f91cf2a35a818ca9973fc6f (diff) |
fix
Diffstat (limited to 'util')
-rw-r--r-- | util/fusermount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/fusermount.c b/util/fusermount.c index 1f6e90d..4a3c264 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -794,7 +794,8 @@ static int try_open(const char *dev, char **devp, int silent) close(fd); fd = -1; } - } else if (errno == ENODEV) + } else if (errno == ENODEV || + errno == ENOENT) /* check for ENOENT too, for the udev case */ return -2; else if (!silent) { fprintf(stderr, "%s: failed to open %s: %s\n", progname, dev, |