Run the uustat command as the uucp user, not as root.

This commit is contained in:
Kris Kennaway 2001-09-09 05:53:01 +00:00
parent 2a0dd72aae
commit 77fb35234d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83240

View File

@ -27,7 +27,7 @@ case "$daily_status_uucp_enable" in
echo ""
echo "UUCP status:"
uustat -a && rc=0 || rc=3
(echo "/usr/bin/uustat -a" | su -fm uucp ) && rc=0 || rc=3
fi;;
*) rc=0;;