URI:
       t[cleanup] Remove unused global variable - tomb - the crypto undertaker
  HTML git clone git://parazyd.org/tomb.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 0e9453ebd8bd236ab3e4e2eea3e0544ee8385011
   DIR parent b3407213076190ac5f15b1948c85c5dc83d15ca4
  HTML Author: hellekin <hellekin@cepheide.org>
       Date:   Wed, 22 Oct 2014 19:17:13 -0300
       
       t[cleanup] Remove unused global variable
       
       Diffstat:
         M tomb                                |       5 +----
       
       1 file changed, 1 insertion(+), 4 deletions(-)
       ---
   DIR diff --git a/tomb b/tomb
       t@@ -66,7 +66,6 @@ TMPPREFIX="/dev/shm/$RANDOM.$RANDOM."
        unsetopt CASE_MATCH
        
        typeset -AH  OPTS             # command line options (see main())
       -typeset -H username
        
        typeset -H _uid
        typeset -H _gid
       t@@ -276,10 +275,8 @@ exec_as_user() {
            return $?
        }
        
       -#Escalate privileges
       +# Escalate privileges
        check_priv() {
       -    # save original user
       -    username=$USER
            if [ $UID != 0 ]; then
                _verbose "Using sudo for root execution of '::1 exec:: ::2 args::'." $TOMBEXEC ${(f)OLDARGS}
                # check if sudo has a timestamp active