Usage()
{
- echo "Usage: $NAME"; echo
+ echo "Usage: $NAME" 2>&1; echo
exit 1
}
[ $# -eq 0 ] || Usage
if [ ! -d "$HOME/.bup" ]; then
- echo "$NAME: \"$HOME/.bup\" does not exist. Initialite it first!"
+ echo "$NAME: \"$HOME/.bup\" does not exist. Initialite it first!" >&2
exit 1
fi