瀏覽代碼

add doublequotes in fix_lo.sh

Claiyc 4 年之前
父節點
當前提交
49c3b09df9
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lgsm/functions/fix_lo.sh

+ 2 - 2
lgsm/functions/fix_lo.sh

@@ -10,8 +10,8 @@ local APPID_FILE=${executabledir}/steam_appid.txt
 if [ ! -f "${APPID_FILE}" ]; then
     fn_print_information "adding ${APPID_FILE} to ${gamename} server."
     fn_sleep_time
-    echo "903950" > ${APPID_FILE}
+    echo "903950" > "${APPID_FILE}"
 else
     fn_print_information "${APPID_FILE} already exists. No action to be taken."
     fn_sleep_time
-fi
+fi