소스 검색

changed to -d

Daniel Gibbs 11 년 전
부모
커밋
65b17aea03
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/fn_check_logs

+ 1 - 1
functions/fn_check_logs

@@ -6,7 +6,7 @@
 # Description: Checks that log files exist on server start
 
 # Create dir's for the script and console logs
-if [ ! -f "${scriptlogdir}" ]; then
+if [ ! -d "${scriptlogdir}" ]; then
 	fn_printdots "Checking for log files"
 	sleep 1
 	fn_printinfo "Checking for log files: Creating log files"