[osm-tile-server] 93/117: Return with return value..

Ruben Undheim rubund-guest at moszumanska.debian.org
Tue Nov 3 23:18:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

rubund-guest pushed a commit to branch master
in repository osm-tile-server.

commit a40f2950a1c470d60122ac6964a667d6c3b1bd1a
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date:   Sun Oct 11 21:04:29 2015 +0200

    Return with return value..
---
 src/osm-tile-server-import.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/osm-tile-server-import.c b/src/osm-tile-server-import.c
index d25b129..f3ad273 100644
--- a/src/osm-tile-server-import.c
+++ b/src/osm-tile-server-import.c
@@ -26,9 +26,8 @@ int main(int argc, char **argv)
 	snprintf(command,255,"osm2pgsql %s -d %s --cache-strategy %s -C %s --hstore -S /usr/share/osm2pgsql/default.style %s",cfg_slim,cfg_dbname,cfg_cache_strategy,cfg_memory,pbffile);
 	printf("Importing to database with this command:\n\n");
 	printf(" %s\n\n",command);
-	system(command);
 
-	return 0;
+	return system(command);
 
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-tile-server.git



More information about the Pkg-grass-devel mailing list