bug
This commit is contained in:
parent
377ca5e82f
commit
ef00e07b21
2
ussh
2
ussh
|
@ -386,7 +386,7 @@ function show_vars() {
|
||||||
function do_ssh() {
|
function do_ssh() {
|
||||||
local -a sshopts
|
local -a sshopts
|
||||||
local onehost r
|
local onehost r
|
||||||
if [ $# -eq 0 ]; then
|
if [ ${#hosts[*]} -eq 0 -a $# -eq 0 ]; then
|
||||||
${exec:+exec} "$SSH" "${SSHOPTS[@]}"
|
${exec:+exec} "$SSH" "${SSHOPTS[@]}"
|
||||||
return
|
return
|
||||||
elif [ "${#hosts[*]}" -gt 1 ]; then
|
elif [ "${#hosts[*]}" -gt 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue