История изменений
Исправление mittorn, (текущая версия) :
https://github.com/davmac314/dinit/blob/master/src/dinit-main.cc#L16
int main(int argc, char **argv)
{
try {
return dinit_main(argc, argv);
}
catch (std::bad_alloc &badalloc) {
std::cout << "dinit: out-of-memory during initialisation" << std::endl;
return 1;
}
catch (std::system_error &syserr) {
std::cout << "dinit: unexpected system error during initialisation: " << syserr.what() << std::endl;
return 1;
}
catch (...) {
std::cout << "dinit: unexpected error during initialisation" << std::endl;
return 1;
}
}
ужас какой-то. И это они пихнули в pid1?
Исходная версия mittorn, :
https://github.com/davmac314/dinit/blob/master/src/dinit-main.cc#L16
int main(int argc, char **argv)
{
try {
return dinit_main(argc, argv);
}
catch (std::bad_alloc &badalloc) {
std::cout << "dinit: out-of-memory during initialisation" << std::endl;
return 1;
}
catch (std::system_error &syserr) {
std::cout << "dinit: unexpected system error during initialisation: " << syserr.what() << std::endl;
return 1;
}
catch (...) {
std::cout << "dinit: unexpected error during initialisation" << std::endl;
return 1;
}
}
ужас какой-то. И это они пихнули в pid1?