cli: Fix the return value for get_profile.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 28m42s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 28m42s
This commit is contained in:
parent
8534e16469
commit
ce451b2449
@ -1057,7 +1057,7 @@ static int _tf_command_get_profile(const char* file, int argc, char* argv[])
|
|||||||
sqlite3_close(db);
|
sqlite3_close(db);
|
||||||
tf_free((void*)profile);
|
tf_free((void*)profile);
|
||||||
tf_free((void*)default_db_path);
|
tf_free((void*)default_db_path);
|
||||||
return profile != NULL;
|
return profile != NULL ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int _tf_command_get_contacts(const char* file, int argc, char* argv[])
|
static int _tf_command_get_contacts(const char* file, int argc, char* argv[])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user