diff --git a/src/hashcat.c b/src/hashcat.c index d381ea331..ea679a344 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -139,16 +139,21 @@ static void setup_umask () umask (077); } -int main (int argc, char **argv) +static void setup_console () { #if defined (_WIN) SetConsoleWindowSize (132); #endif +} +int main (int argc, char **argv) +{ /** * To help users a bit */ + setup_console (); + setup_environment_variables (); setup_umask ();