diff --git a/test.sh b/test.sh index e642899..eff468e 100755 --- a/test.sh +++ b/test.sh @@ -32,6 +32,5 @@ function myfunc() echo "ok" } -detect_os targetvalue -declare -p targetvalue +if [ $(detect_os[1]) = "debian" ]; then echo 'YES'; fi