Added basic Makefile, updated README and some code fixes.

This commit is contained in:
Johannes Findeisen 2024-08-10 18:47:15 +02:00
commit 7cf30917aa
3 changed files with 13 additions and 4 deletions

View file

@ -256,10 +256,10 @@ int main(int argc, char *argv[]) {
// Authenticate the user
if (authenticate(username, password, verbose) == 0) {
printf("Authenticated successfully.\n");
exit(0);
return 0;
} else {
printf("Authentication failed.\n");
exit(1);
return 1;
}
}