If we're not logging history information, don't demand write access.
This commit is contained in:
parent
d333677271
commit
44f6e41b43
@ -316,7 +316,7 @@ main (argc, argv)
|
|||||||
}
|
}
|
||||||
(void) strcat (path, "/");
|
(void) strcat (path, "/");
|
||||||
(void) strcat (path, CVSROOTADM_HISTORY);
|
(void) strcat (path, CVSROOTADM_HISTORY);
|
||||||
if (isfile (path) && access (path, R_OK | W_OK))
|
if (isfile (path) && access (path, R_OK | (logoff ? 0 : W_OK)))
|
||||||
{
|
{
|
||||||
save_errno = errno;
|
save_errno = errno;
|
||||||
error (0, 0,
|
error (0, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user