mirror of
https://github.com/matrix-construct/construct
synced 2024-11-12 04:51:08 +01:00
construct: Minor cleanup.
This commit is contained in:
parent
ccb2d86cdc
commit
7ea6a3b39a
1 changed files with 4 additions and 3 deletions
|
@ -37,7 +37,7 @@ bool norun;
|
|||
bool read_only;
|
||||
bool write_avoid;
|
||||
const char *execute;
|
||||
lgetopt opts[] =
|
||||
lgetopt opts[]
|
||||
{
|
||||
{ "help", nullptr, lgetopt::USAGE, "Print this text" },
|
||||
{ "version", &printversion, lgetopt::BOOL, "Print version and exit" },
|
||||
|
@ -78,8 +78,9 @@ const char *const usererrstr
|
|||
%s
|
||||
)"};
|
||||
|
||||
int main(int _argc, char *const *_argv, char *const *const _envp)
|
||||
try
|
||||
int
|
||||
main(int _argc, char *const *_argv, char *const *const _envp)
|
||||
noexcept try
|
||||
{
|
||||
umask(077); // better safe than sorry --SRB
|
||||
|
||||
|
|
Loading…
Reference in a new issue