#!/bin/sh
# only when used locally
if test "$1" != rsync; then
	shift
fi

if test "$1" != rsync; then
	echo >&2 'invalid argument'
	exit 1
fi

exec rsync --server --daemon --log-file=/dev/stderr .