Fix return codes.
Returning 33 does not do anything do anything. because of pango? Or persist?
This commit is contained in:
parent
63d85f73a8
commit
5eaad69244
|
@ -139,6 +139,6 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
std::cout << R"(<span color="red">)" << e.what() << "</span>"
|
||||
<< std::endl;
|
||||
return 33;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,6 +98,6 @@ int main(int argc, char *argv[])
|
|||
{
|
||||
std::cout << R"(<span color="red">)" << e.what() << "</span>"
|
||||
<< std::endl;
|
||||
return 33;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,6 +69,6 @@ int main()
|
|||
{
|
||||
cout << R"(<span color="red">Time script crashed.</span>)" << endl;
|
||||
std::cerr << e.what() << '\n';
|
||||
return 33;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -213,6 +213,6 @@ int main()
|
|||
{
|
||||
std::cout << R"(<span color="red">)" << e.what() << "</span>"
|
||||
<< std::endl;
|
||||
return 33;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user