tFIX help was "always" showing up - tomb - the crypto undertaker
 (HTM) git clone git://parazyd.org/tomb.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit f8e9837dc1b589861793529ea5603428cdfd88cb
 (DIR) parent 3d611d2fb4228a3e348105faf162504d706168aa
 (HTM) Author: boyska <piuttosto@logorroici.org>
       Date:   Sat, 20 Aug 2011 19:25:11 +0200
       
       FIX help was "always" showing up
       
       Actually, showing up IFF sudo has a cached password
       
       Diffstat:
         M src/tomb                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/src/tomb b/src/tomb
       t@@ -184,7 +184,7 @@ check_priv() {
                func "Using sudo for root execution of 'tomb ${(f)OLDARGS}'"
                # check if sudo has a timestamp active
                sudok=false
       -        sudo -n ${TOMBEXEC} 2> /dev/null
       +        sudo -n ${TOMBEXEC} &> /dev/null
                if [ $? != 0 ]; then # if not then ask a password
                    cat <<EOF | pinentry 2>/dev/null | awk '/^D/ { print $2 }' | sudo -S -v
        OPTION ttyname=$TTY