소스 검색

Corrected if

Daniel Gibbs 10 년 전
부모
커밋
661e579dbe
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/core_dl.sh

+ 1 - 1
functions/core_dl.sh

@@ -20,7 +20,7 @@ lgsm_version="050216"
 
 fn_dl_md5(){
 # Runs MD5 Check if available
-if [ -n "${md5}" ]||[ "${md5}" == "nomd5" ]; then
+if [ -n "${md5}" ]||[ "${md5}" != "nomd5" ]; then
 	echo -ne "verifying ${filename} with MD5..."
 	sleep 1
 	local md5sumcmd=$(md5sum "${filedir}/${filename}"|awk '{print $1;}')