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

Diff for /src/usr.bin/cvs/init.c between version 1.8 and 1.9

version 1.8, 2004/12/07 17:10:56 version 1.9, 2005/01/05 18:34:01
Line 87 
Line 87 
                 return (EX_USAGE);                  return (EX_USAGE);
   
         root = cvsroot_get(".");          root = cvsroot_get(".");
           if (root == NULL) {
                   cvs_log(LP_ERR,
                       "No CVSROOT specified!  Please use the `-d' option");
                   cvs_log(LP_ERR,
                       "or set the CVSROOT environment variable.");
                   return (EX_USAGE);
           }
   
         if (root->cr_method != CVS_METHOD_LOCAL) {          if (root->cr_method != CVS_METHOD_LOCAL) {
                 if (cvs_connect(root) < 0)                  if (cvs_connect(root) < 0)
                         return (EX_DATAERR);                          return (EX_DATAERR);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9