diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-01-22 11:26:30 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-01-22 11:26:30 +0100 |
commit | fe743b4cac8965b96489f6cdeb8bb2c3ce3e8e23 (patch) | |
tree | eb2b3468ae887b267db64a4eeba77042a1d298ec /rsyncd-scp.sh | |
parent | 0ccf808567c46cacc2eeb49ca5f7e1ac9cdeaf18 (diff) | |
download | bin-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-x | rsyncd-scp.sh | 2 |
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 |