summaryrefslogtreecommitdiff
path: root/etc/rc.d/othermta
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2002-08-09 17:45:04 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2002-08-09 17:45:04 +0000
commit897102c745f0e5c7263bba48bf2b6110647059c6 (patch)
treec314c3f7aa4f105a94e0767eaa974209baca88c6 /etc/rc.d/othermta
parent5e6fcb8ccce49b6f9f0da7f59106c3c86900e5a0 (diff)
downloadsrc-test2-897102c745f0e5c7263bba48bf2b6110647059c6.tar.gz
src-test2-897102c745f0e5c7263bba48bf2b6110647059c6.zip
Notes
Diffstat (limited to 'etc/rc.d/othermta')
-rw-r--r--etc/rc.d/othermta5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.d/othermta b/etc/rc.d/othermta
index 774546f3e8b7..05236a80c5ab 100644
--- a/etc/rc.d/othermta
+++ b/etc/rc.d/othermta
@@ -13,4 +13,7 @@
load_rc_config 'XXX'
-[ "${mta_start_script}" != "/etc/rc.sendmail" ] && sh ${mta_start_script}
+if [ -n "${mta_start_script}" ]; then
+ [ "${mta_start_script}" != "/etc/rc.sendmail" ] && \
+ sh ${mta_start_script} "$1"
+fi