Comment 26 for bug 152692

Revision history for this message
Kees Cook (kees) wrote :

I don't see this problem. From debian/locate-cron.daily:

                # Avoid providing "-n" when IONICE_CLASS isn't 1 or 2
                case "$IONICE_CLASS" in
                        1|2) priority="-n ${IONICE_PRIORITY:-7}" ;;
                        *) priority="" ;;
                esac
                ionice -c $IONICE_CLASS $priority -p $$ > /dev/null 2>&1 || true

-n and -p are used correctly here. Am I misunderstanding something?