diff --git a/docker/l2tp/alpine/l2tp.sh b/docker/l2tp/alpine/l2tp.sh index 0f37905..5f70359 100644 --- a/docker/l2tp/alpine/l2tp.sh +++ b/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 diff --git a/docker/l2tp/l2tp.sh b/docker/l2tp/l2tp.sh index 3be44e1..103559b 100644 --- a/docker/l2tp/l2tp.sh +++ b/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