Просмотр исходного кода

refactor: improve print message in command_update_linuxgsm.sh

The code change refactors the print message in the command_update_linuxgsm.sh file. Instead of printing "OK", it now prints "SKIP" to indicate that a module is being removed. This improves clarity and consistency in the script's output.
Daniel Gibbs 2 лет назад
Родитель
Сommit
5d006bd57d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/modules/command_update_linuxgsm.sh

+ 1 - 1
lgsm/modules/command_update_linuxgsm.sh

@@ -203,7 +203,7 @@ if [ -n "${modulesdir}" ]; then
 						fn_script_log_fatal "Removing module ${modulefile}"
 						fn_script_log_fatal "Removing module ${modulefile}"
 						core_exit.sh
 						core_exit.sh
 					else
 					else
-						fn_print_ok_eol_nl
+						fn_print_skip_eol_nl
 						fn_script_log_pass "Removing module ${modulefile}"
 						fn_script_log_pass "Removing module ${modulefile}"
 					fi
 					fi
 				else
 				else