- if [ "x${MODE}x" = "xdailyx" ]; then
- ssh ${SSHOPT} wbadm@buildd /org/wanna-build/trigger.daily || echo "W-B trigger.daily failed" | mail -s "W-B Daily trigger failed" ftpmaster@ftp-master.debian.org
- elif [ "x${MODE}x" = "xoftenx" ]; then
- ssh -q -q ${SSHOPT} wbadm@buildd /org/wanna-build/trigger.often
- else
- log_error "Unknown wb trigger mode called"
- fi