瀏覽代碼

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;}')