summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ctm/ctm_rmail/ctm_rmail.c')
-rw-r--r--usr.sbin/ctm/ctm_rmail/ctm_rmail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
index 0f45d6b..04eef38 100644
--- a/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
+++ b/usr.sbin/ctm/ctm_rmail/ctm_rmail.c
@@ -153,7 +153,8 @@ apply_complete()
if (stat(fname, &sb) < 0)
return;
- sprintf(buf, "(cd %s && ctm %s%s) 2>&1", base_dir, here, fname);
+ sprintf(buf, "(cd %s && /usr/sbin/ctm %s%s) 2>&1",
+ base_dir, here, fname);
if ((ctm = popen(buf, "r")) == NULL)
{
err("ctm failed to apply %s", delta);
OpenPOWER on IntegriCloud