Forráskód Böngészése

Update comments

Signed-off-by: Teddysun <[email protected]>
Teddysun 7 éve
szülő
commit
87b4c48b2b
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      docker/l2tp/alpine/l2tp.sh
  2. 1 1
      docker/l2tp/l2tp.sh

+ 1 - 1
docker/l2tp/alpine/l2tp.sh

@@ -28,7 +28,7 @@ rand(){
 }
 
 is_64bit(){
-    if [ "$(getconf WORD_BIT)" == "32" ] && [ "$(getconf LONG_BIT)" == "64" ]; then
+    if [ "$(getconf WORD_BIT)" = "32" ] && [ "$(getconf LONG_BIT)" = "64" ]; then
         return 0
     else
         return 1

+ 1 - 1
docker/l2tp/l2tp.sh

@@ -28,7 +28,7 @@ rand(){
 }
 
 is_64bit(){
-    if [ "$(getconf WORD_BIT)" == "32" ] && [ "$(getconf LONG_BIT)" == "64" ]; then
+    if [ "$(getconf WORD_BIT)" = "32" ] && [ "$(getconf LONG_BIT)" = "64" ]; then
         return 0
     else
         return 1