From d34ea9a9c968f8923ef0388a235458e529fbcf8a Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 29 May 2012 12:00:03 +0200 Subject: [PATCH] add missing -c argument Signed-off-by: Steven Armstrong --- other/examples/remote/schroot/copy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/other/examples/remote/schroot/copy b/other/examples/remote/schroot/copy index cbd45573..d995055e 100755 --- a/other/examples/remote/schroot/copy +++ b/other/examples/remote/schroot/copy @@ -33,7 +33,7 @@ chroot_name="$1"; shift target_host="$__target_host" # get directory for given chroot_name -chroot="$(ssh -o User=root -q $target_host schroot $chroot_name --config | awk -F = '/directory=/ {print $2}')" +chroot="$(ssh -o User=root -q $target_host schroot -c $chroot_name --config | awk -F = '/directory=/ {print $2}')" # prefix destination with chroot code="$(echo "$@" | sed "s|$target_host:|$target_host:$chroot|g")"