]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - debian/10mail
Fixed FTBFS on kfreebsd.
[mirror_smartmontools-debian.git] / debian / 10mail
CommitLineData
20259a08
GG
1#!/bin/bash -e
2
a94eb836 3# Send mail if /usr/bin/mail exists
9a194185 4[ -x /usr/bin/mail ] || {echo "Your system does not have /usr/bin/mail. Install the mailx or mailutils package" ; exit 1}
20259a08
GG
5
6input=$1
7shift
8
9/usr/bin/mail "$@" < $input
10