[BACK]Return to login.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / login

Diff for /src/usr.bin/login/login.c between version 1.57 and 1.58

version 1.57, 2007/04/02 07:01:33 version 1.58, 2009/08/03 21:43:07
Line 600 
Line 600 
         }          }
         /* Note: setusercontext(3) will set PATH */          /* Note: setusercontext(3) will set PATH */
         if (setenv("HOME", pwd->pw_dir, 1) == -1 ||          if (setenv("HOME", pwd->pw_dir, 1) == -1 ||
             setenv("SHELL", shell, 1) == -1) {              setenv("SHELL", pwd->pw_shell, 1) == -1) {
                 warn("unable to setenv()");                  warn("unable to setenv()");
                 quickexit(1);                  quickexit(1);
         }          }

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58