---
 mount.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/mount.c b/mount.c
index d0b2fd8..529ee86 100644
--- a/mount.c
+++ b/mount.c
@@ -124,9 +124,8 @@ mounthelper(const char *fsname, const char *dir, const char 
*fstype)
                eargv[i] = NULL;
 
                execvp(eprog, (char * const *)eargv);
-               if (errno == ENOENT)
-                       _exit(1);
-               weprintf("execvp:");
+               if (errno != ENOENT)
+                       weprintf("execvp:");
                _exit(1);
                break;
        default:
-- 
2.8.3


Reply via email to