Browse Source

Fixed minor issue

Daniel Gibbs 10 năm trước cách đây
mục cha
commit
43043ab1c3
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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
 }