소스 검색

Fixed minor issue

Daniel Gibbs 10 년 전
부모
커밋
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
 }