allow multiple arguments

This commit is contained in:
Christian Ulrich 2020-03-26 21:03:08 +01:00
parent 7cbfe5a0f6
commit 9ad3bd1714
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ function call_remote {
local fn="$1" local fn="$1"
local args="${@:2}" local args="${@:2}"
ssh -l christian -p 2200 ulrich.earth "$(declare -f $fn); $fn '$args'" ssh -l christian -p 2200 ulrich.earth "$(declare -f $fn); $fn $args"
} }
function worker_has_nix { function worker_has_nix {