From a33e6c61bd4273f401a0d73c6d8f44a5382bd229 Mon Sep 17 00:00:00 2001 From: YanTheKaller Date: Thu, 23 Apr 2026 21:34:53 +0600 Subject: [PATCH] Test fix for crash --- source/ubinstall-gtk-install-start.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/ubinstall-gtk-install-start.c b/source/ubinstall-gtk-install-start.c index 5807189..020e54f 100644 --- a/source/ubinstall-gtk-install-start.c +++ b/source/ubinstall-gtk-install-start.c @@ -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))){