diff options
-rw-r--r-- | lib/metadata.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/metadata.sh b/lib/metadata.sh index 266e13a..28a984b 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -113,7 +113,7 @@ ob_get_system_arch() { _ob_local - if [ ${?} -gt 0 ]; then + if [ ${#} -gt 0 ]; then _ob_return 125 return ${?} fi @@ -128,7 +128,7 @@ ob_get_system_plat() { _ob_local - if [ ${?} -gt 0 ]; then + if [ ${#} -gt 0 ]; then _ob_return 125 return ${?} fi |