1 2 3 4 5
#!/usr/bin/env bash # Check if wg show has any output output_wg="$(wg show)" [[ -n $output_wg ]]