--- 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 _AT_@ -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.3Received on Mon Jul 11 2016 - 14:28:00 CEST
This archive was generated by hypermail 2.3.0 : Mon Jul 11 2016 - 14:36:32 CEST