]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/mount/stropts.c
Change how mount.nfs handles EACCES errors. Currently,
[nfs-utils.git] / utils / mount / stropts.c
index 0c8d3e1baf83779b9447893d3d796bf3b7bfd0f2..cdd610ee8edbd028ee7f80c151c64c2ed350c97f 100644 (file)
  *
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <ctype.h>
 #include <unistd.h>
 #include <stdio.h>
@@ -248,7 +252,6 @@ static int set_mandatory_options(const char *type,
 static int is_permanent_error(int error)
 {
        switch (error) {
-       case EACCES:
        case ESTALE:
        case ETIMEDOUT:
        case ECONNREFUSED: