Skip to content

Commit

Permalink
Allow ssh shell expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 9, 2019
1 parent cdcd2c0 commit 618b9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/docker-volume-export
Expand Up @@ -64,6 +64,7 @@ for v in $volume; do

echo "export $v"
if [ -n "$host" ]; then
# shellcheck disable=SC2029
ssh "$host" "$cmd" > "$output_filename"
else
eval "$cmd" > "$output_filename"
Expand Down

0 comments on commit 618b9a6

Please sign in to comment.