Commit 6c5b5576 authored by Dylan Araps's avatar Dylan Araps

General: Simplify test

parent 6557e4f1
...@@ -2432,7 +2432,7 @@ info() { ...@@ -2432,7 +2432,7 @@ info() {
"get_${2:-$1}" 2>/dev/null "get_${2:-$1}" 2>/dev/null
# If the get_func function called 'prin' directly, stop here. # If the get_func function called 'prin' directly, stop here.
(( "$prin" == 1 )) && return [[ "$prin" ]] && return
# Update the variable # Update the variable
output="$(trim "${!2:-${!1}}")" output="$(trim "${!2:-${!1}}")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment