[Popcon-developers] Bug#331438: wrong usage of "su" in /etc/cron.weekly/popularity-contest

Petter Reinholdtsen pere at hungry.com
Sun Nov 13 22:07:45 UTC 2005


tags 331438 + pending
thanks

> invoking /etc/cron.weekly/popularity-contest fails with: "sh: - :
> invalid option". looking into the script, line 34 tries to "su" to
> nobody and executes /usr/sbin/popularity-contest. the following
> patch should speak for itself:

What version of su is this?  The code has worked quite a long time, so
it can't be the normal su. :)

Anyway, the patch look good to me.  I am commiting it to cvs, and it
will make it into the next version of popularity-contest.




More information about the Popcon-developers mailing list