Commit a29728f4 authored by Mehdi Dogguy's avatar Mehdi Dogguy

Fix parameters check in emails_on_push.sh

parent 0dfb82a8
......@@ -4,7 +4,7 @@ set -e
. ./salsarc
if [ "$#" -ne 1 ] || [ -z "$1" ]; then
if [ "$#" -eq 0 ] || [ "$#" -gt 2 ] || [ -z "$1" ]; then
echo "Usage: $0 foo [recipient ...]" >&2
echo " where 'foo' is the Salsa project name for which you want to setup email notifications for [recipients]." >&2
echo " If recipients is empty, then this script will use 'dispatch+foo_vcs@tracker.debian.org'" >&2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment