URI:
       tsmall linting fixes - tomb - the crypto undertaker
  HTML git clone git://parazyd.org/tomb.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit cb699189e7f11ed1dbcdf854bfaf4ae02adc5c46
   DIR parent 0fa4a07f8c9e3e18bd1734e7dc393748dbf4aa9a
  HTML Author: Jaromil <jaromil@dyne.org>
       Date:   Mon,  2 Jan 2017 06:13:52 +0100
       
       small linting fixes
       
       Diffstat:
         M tomb                                |       9 +++++----
       
       1 file changed, 5 insertions(+), 4 deletions(-)
       ---
   DIR diff --git a/tomb b/tomb
       t@@ -478,7 +478,8 @@ EOF`
                [[ "$i" =~ "^ERR.*" ]] && {
                    _warning "Pinentry error: ::1 error::" ${i[(w)3]}
                    print "canceled"
       -            return 1 }
       +            return 1
       +                }
        
                # here the password is found
                [[ "$i" =~ "^D .*" ]] && password="${i##D }";
       t@@ -487,7 +488,8 @@ EOF`
            [[ "$password" = "" ]] && {
                _warning "Empty password"
                print "empty"
       -        return 1 }
       +        return 1
       +        }
        
            print "$password"
            return 0
       t@@ -792,8 +794,7 @@ _list_optional_tools() {
        _ensure_dependencies() {
        
            # Check for required programs
       -        local deps=(cryptsetup pinentry sudo gpg mkfs.ext4 e2fsck)
       -    for req in $deps; do
       +    for req in cryptsetup pinentry sudo gpg mkfs.ext4 e2fsck; do
                command -v $req 1>/dev/null 2>/dev/null || {
                    _failure "Missing required dependency ::1 command::.  Please install it." $req; }
            done