1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-16 10:09:58 +00:00

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
This commit is contained in:
Carles Fernandez 2016-03-04 15:26:55 +01:00
parent 833ca8ab8c
commit 26ff3dbe1c

View File

@ -224,4 +224,5 @@ int main(int argc, char** argv)
google::ShutDownCommandLineFlags();
std::cout << "GNSS-SDR program ended." << std::endl;
return 0;
}