summaryrefslogtreecommitdiff
path: root/news/inn/files
diff options
context:
space:
mode:
authortron <tron>1999-07-24 17:38:14 +0000
committertron <tron>1999-07-24 17:38:14 +0000
commit7ea8dde447e659679cf41f3f63a126d4c3a48b7a (patch)
treef32908207cc68d1c3d1d8e1a54e05193a6e50c49 /news/inn/files
parent7a899a5d8daac33f39635e70b88ba03c1f1cd74b (diff)
downloadpkgsrc-7ea8dde447e659679cf41f3f63a126d4c3a48b7a.tar.gz
Use "su" with "-c" so that it works for accounts with login shell other
than "/bin/sh", too.
Diffstat (limited to 'news/inn/files')
-rw-r--r--news/inn/files/innd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
index 259b6b4d824..f832407ecf6 100644
--- a/news/inn/files/innd.sh
+++ b/news/inn/files/innd.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#
-# $NetBSD: innd.sh,v 1.3 1999/07/24 17:07:27 tron Exp $
+# $NetBSD: innd.sh,v 1.4 1999/07/24 17:38:14 tron Exp $
#
if [ -x @@PREFIX@@/bin/rc.news -a -s @@INN_DATA_DIR@@/db/active ];
then
- su news @@PREFIX@@/bin/rc.news >/dev/null
+ su news -c @@PREFIX@@/bin/rc.news >/dev/null
echo -n ' innd'
fi
exit 0