summaryrefslogtreecommitdiff
path: root/mail/fetchmail/files/fetchmail.in
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmail/files/fetchmail.in')
-rw-r--r--mail/fetchmail/files/fetchmail.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/fetchmail/files/fetchmail.in b/mail/fetchmail/files/fetchmail.in
index c18ce122d982..0ddfa16727f3 100644
--- a/mail/fetchmail/files/fetchmail.in
+++ b/mail/fetchmail/files/fetchmail.in
@@ -116,7 +116,7 @@ fetchmail_awaken()
# query a value from the fetchmail config file, value specified in first argument
fetchmail_dump_config()
{
- su -m ${fetchmail_user} -c sh -c "fetchmail -f ${fetchmail_config} --configdump" | fgrep $1 | cut -d: -f2
+ su -m ${fetchmail_user} -c "/bin/sh -c 'fetchmail -f ${fetchmail_config} --configdump'" | fgrep $1 | cut -d: -f2
}
# arguments: