summaryrefslogtreecommitdiffstats
path: root/rsyncd-scp.sh
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-01-22 11:26:30 +0100
committerFlorian Pritz <bluewind@xinu.at>2012-01-22 11:26:30 +0100
commitfe743b4cac8965b96489f6cdeb8bb2c3ce3e8e23 (patch)
treeeb2b3468ae887b267db64a4eeba77042a1d298ec /rsyncd-scp.sh
parent0ccf808567c46cacc2eeb49ca5f7e1ac9cdeaf18 (diff)
downloadbin-fe743b4cac8965b96489f6cdeb8bb2c3ce3e8e23.tar.gz
bin-fe743b4cac8965b96489f6cdeb8bb2c3ce3e8e23.tar.xz
rsyncd-scp.sh: fix usage message
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'rsyncd-scp.sh')
-rwxr-xr-xrsyncd-scp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsyncd-scp.sh b/rsyncd-scp.sh
index de54a8e..c96cfb4 100755
--- a/rsyncd-scp.sh
+++ b/rsyncd-scp.sh
@@ -7,7 +7,7 @@ path=${1#*:}
dst=$2
if [[ -z $1 || -z $2 ]]; then
- echo "${0%%*/}: <host:src> <dst>"
+ echo "${0##*/}: <host:src> <dst>"
exit 0
fi