Put argv0 to the beginning

This commit is contained in:
buffet 2018-10-19 11:04:19 +02:00
parent 2249141082
commit 9142eaf1aa

View file

@ -29,11 +29,11 @@ int g_is_about_to_quit = 0;
int
main(int argc, char *argv[])
{
argv0 = argv[0];
char config_path[PATH_MAX];
int option;
argv0 = argv[0];
config_path[0] = '\0';
while ((option = getopt(argc, argv, "hvc:")) != -1) {