Skip to content

Commit 6b65291

Browse files
committed
Set error exit on missing postgres connection settings
1 parent 6e1644d commit 6b65291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importer/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ int main(int argc, char *argv[])
138138
{
139139
std::cout << "Please specify PostgreSQL connection string using environment variable "
140140
<< GEOCODER_IMPORTER_POSTGRES << "\n";
141-
return 0;
141+
return -1;
142142
}
143143

144144
std::cout << "Postgres connection: " << postgres_dblink << std::endl;

0 commit comments

Comments
 (0)