always source ENV (posix, and correct anyway)
[unix-history] / usr / src / bin / sh / main.c
index 2c331a9..58b4130 100644 (file)
@@ -129,7 +129,7 @@ state1:
        } 
 state2:
        state = 3;
        } 
 state2:
        state = 3;
-       if ((sflag || minusc) && (shinit = lookupvar("ENV")) != NULL &&
+       if ((shinit = lookupvar("ENV")) != NULL &&
             *shinit != '\0') {
                state = 3;
                read_profile(shinit);
             *shinit != '\0') {
                state = 3;
                read_profile(shinit);