diff --git a/src/main.c b/src/main.c index ca580fbf..aacae3f0 100644 --- a/src/main.c +++ b/src/main.c @@ -1057,7 +1057,7 @@ static int _tf_command_get_profile(const char* file, int argc, char* argv[]) sqlite3_close(db); tf_free((void*)profile); 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[])