> IIRC, it failed in greylistd.postinst right after:

> . /usr/share/debconf/confmodule

> so it's likely not a bug in greylistd, but somewhere between debconf
> and/or ash. It looks a lot like #242011.

No, this is completely unrelated to #242011.  This *is* a bug in greylistd.

false=-1

ismember()
{
    user=$1
    group=$2

    for candidate in $(id -Gn $user 2>/dev/null)
    do
        [ "$candidate" = "$group" ] && return $true
    done

    return $false
}

Negative return values are not POSIX.

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to