mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 02:22:43 +00:00
Run the uustat command as the uucp user, not as root.
This commit is contained in:
parent
2a0dd72aae
commit
77fb35234d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83240
@ -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;;
|
||||
|
Loading…
Reference in New Issue
Block a user