Test fix for crash

pull/398/head
YanTheKaller 1 week ago
parent 1c06ca2d95
commit a33e6c61bd

@ -22,6 +22,7 @@ void *on_quick_install_start(void *data){
g_idle_add((GSourceFunc)yon_progress_bar_start,widgets);
if (!main_config.dry_run){
if (!main_config.config_load_path) main_config.config_load_path = yon_char_new("system");
char *command = yon_debug_output("%s\n",auto_install_command(main_config.config_load_path));
yon_debug_output("%s\n","Entered installation");
if (system(yon_debug_output("%s\n",command))){
@ -58,6 +59,7 @@ void *on_auto_install_start(void *data){
g_idle_add((GSourceFunc)yon_progress_bar_start,widgets);
if (!main_config.dry_run){
if (!main_config.config_load_path) main_config.config_load_path = yon_char_new("system");
char *command = yon_debug_output("%s\n",auto_install_command(main_config.config_load_path));
yon_debug_output("%s\n","Entered installation");
if (system(yon_debug_output("%s\n",command))){

Loading…
Cancel
Save