diff --git a/src/server/slavefuncs.c b/src/server/slavefuncs.c --- a/src/server/slavefuncs.c +++ b/src/server/slavefuncs.c @@ -121,8 +121,10 @@ int register_user(char *username, char * /* @TODO: Parse the output buffer or something to check when user creation fails due to duplicate users. This is pretty important. */ - - conf_replace(username); // puts the person's username in the conf + // puts the person's username in the conf + if(conf_replace(username) == 0){ + fprintf(stderr, "Failed!\n"); + } ssh_keygen(); // generates keys for login, @TODO: pub key must somehow be sent to the server. return 1;