From a4dd317ea218eb211eff9801d69da0ddd2bafd4f Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 24 Jul 1999 17:38:14 +0000 Subject: Use "su" with "-c" so that it works for accounts with login shell other than "/bin/sh", too. --- news/inn/files/innd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'news') 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 -- cgit v1.2.3