Add more debug logging.

This commit is contained in:
redxef 2022-11-21 20:29:31 +01:00
parent f1b51a6b56
commit e5c04511b2
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

2
src/in
View file

@ -20,10 +20,12 @@ echo "tar c script:" >&2
echo "$script" >&2
if [ -n "$FILES" ]; then
pwd >&2
(
cd "$1"
ls -la >&2
id >&2
pwd >&2
ssh -F "$CONFIG_PATH" "$HOSTNAME" "sh -c '$script'" | tar x
)
fi