diff options
author | tron <tron> | 1999-07-24 17:38:14 +0000 |
---|---|---|
committer | tron <tron> | 1999-07-24 17:38:14 +0000 |
commit | d0084ecd95c26b561b613d9a921e23bb056d5667 (patch) | |
tree | f32908207cc68d1c3d1d8e1a54e05193a6e50c49 /news/inn/files | |
parent | 3e67beab186fb4edafa4f0a272ca4f22f03babcd (diff) | |
download | pkgsrc-d0084ecd95c26b561b613d9a921e23bb056d5667.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.sh | 4 |
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 |