From 26ff3dbe1c51e42bee9a8e53ca634d9b15de5c09 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 4 Mar 2016 15:26:55 +0100 Subject: [PATCH] main returns 0 upon normal ternimation The return value for main should indicate how the program exited. Normal exit is generally represented by a 0 return value from main. Abnormal termination is usually signalled by a non-zero return but there is no standard for how non-zero codes are interpreted --- src/main/main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/main.cc b/src/main/main.cc index 53b2ad930..1053c8813 100644 --- a/src/main/main.cc +++ b/src/main/main.cc @@ -224,4 +224,5 @@ int main(int argc, char** argv) google::ShutDownCommandLineFlags(); std::cout << "GNSS-SDR program ended." << std::endl; + return 0; }