scripts/deploy: fix off-by-one in runOnTarget
This commit is contained in:
parent
9e92069ba3
commit
2e44abc55d
|
@ -106,6 +106,7 @@ destructive() {
|
|||
|
||||
runOnTarget() {
|
||||
local host="$1"
|
||||
shift
|
||||
# run the command ($@) on the machine we're deploying to.
|
||||
# if that's a remote machine, then do it via ssh, else local shell.
|
||||
if [ -n "$host" ] && [ "$host" != "$SELF" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user