Changeset - ca71437158f0
[Not reviewed]
default
0 1 0
ethanzonca - 16 years ago 2009-08-01 13:20:40

Inverted detection of key
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/server/slavefuncs.c
Show inline comments
 
@@ -207,7 +207,7 @@ int login_user(char *username)
 
  int status;
 
  struct stat buffer;
 
  status = stat(SYSCONFDIR "/distren.id_rsa", &buffer);
 
  if(status != -1){
 
  if(status == -1){
 
	  fprintf(stderr,"Your key has not been found! Re-register or somehow regenerate your key!\nWe need a way to regenerate keys coded in, but we don't have the facilities yet!\n");
 
	  return 0;
 
  }
0 comments (0 inline, 0 general)