diff --git a/test.sh b/test.sh index 23e4922..b4afb03 100755 --- a/test.sh +++ b/test.sh @@ -32,5 +32,5 @@ function myfunc() echo "ok" } -if [ ${$(detect_os OS)[1]} = "debian" ]; then echo 'YES'; fi +if [ ${(detect_os OS)[1]} = "debian" ]; then echo 'YES'; fi