Update comments

Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
Teddysun 2018-11-07 21:39:50 +09:00
parent e050bddb8c
commit 87b4c48b2b
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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