]> diplodocus.org Git - nmh/blobdiff - sbr/context_read.c
mhbuildsbr.c: Flip logic, moving goto to then-block; no need for else.
[nmh] / sbr / context_read.c
index a4c9820a7807f3ec5d9b158e69de70709f941f80..8350b98d7f852ac63ebe0a7ef86965c7905f522b 100644 (file)
@@ -53,8 +53,7 @@ context_read (void)
     if ((mypath = getenv("HOME")) == NULL) {
        if ((pw = getpwuid(getuid())) == NULL || *pw->pw_dir == '\0')
            adios(NULL, "cannot determine your home directory");
-       else
-           mypath = pw->pw_dir;
+        mypath = pw->pw_dir;
     }
 
     /*