From 7e31dc4906961da4c0fc2ce0fbee3d0a2361fa2d Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Feb 2018 14:09:44 +0100 Subject: target_shell: allow passing arguments to /bin/sh --- bin/populate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/populate b/bin/populate index 358cb36..a0d3750 100755 --- a/bin/populate +++ b/bin/populate @@ -251,14 +251,14 @@ quote() { target_shell() { if is_local_target; then - /bin/sh + /bin/sh "$@" else ssh "$target_host" \ -l "$target_user" \ -o ControlPersist=no \ -p "$target_port" \ -T \ - /bin/sh + /bin/sh "$@" fi } -- cgit v1.2.3