|
|
|
@ -673,7 +673,8 @@ int yon_ubl_setup_arguments(int argc, char *argv[],config_str *unfound_arguments
|
|
|
|
if(optarg)
|
|
|
|
if(optarg)
|
|
|
|
template_config->load_socket_id=atoi(optarg);
|
|
|
|
template_config->load_socket_id=atoi(optarg);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'c': if (system(remove_config_dir_command)){};
|
|
|
|
case 'c': chmod (yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",template_app_information.app_tech_name,"/",NULL),0777);
|
|
|
|
|
|
|
|
if (system(remove_config_dir_command)){};
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'd': template_config->debug_mode=1;
|
|
|
|
case 'd': template_config->debug_mode=1;
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
Для чего 777 на файл?
Возможно нужно сменить владельца на текущего пользователя chown ?