begin to remove support for backing up to remote hosts
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e39e53d0fb
commit
d2cd0c48f3
1 changed files with 0 additions and 10 deletions
10
ccollect
10
ccollect
|
@ -88,16 +88,6 @@ add_name()
|
|||
awk "{ print \"[${name}] \" \$0 }"
|
||||
}
|
||||
|
||||
#
|
||||
# Prepend "ssh ${remote_host}", if backing up to a remote host
|
||||
#
|
||||
pcmd()
|
||||
{
|
||||
[ "${remote_host}" ] && set -- "ssh" "${remote_host}" "$@"
|
||||
|
||||
"$@"
|
||||
}
|
||||
|
||||
#
|
||||
# ssh-"feature": we cannot do '... read ...; ssh ...; < file',
|
||||
# because ssh reads stdin! -n does not work -> does not ask for password
|
||||
|
|
Loading…
Reference in a new issue