Daniel Gibbs 10 лет назад
Родитель
Сommit
43043ab1c3
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      functions/core_functions.sh

+ 3 - 1
functions/core_functions.sh

@@ -151,7 +151,9 @@ fn_fetch_function
 fn_restart(){
 local modulename="Restarting"
 info_config.sh
-fn_scriptlog "${servername}"
+if [ -d "${scriptlogdir}" ]; then
+	fn_scriptlog "${servername}"
+fi	
 command_stop.sh
 command_start.sh
 }