spm

simple password manager
git clone anongit@rnpnr.xyz:spm.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 1268209bd98da1820bdbc3743e9be46219327065
Parent: b949afa1488043953fb3c8ac61eb6d6b747ab09f
Author: Sören Tempel
Date:   Thu, 19 Mar 2015 11:43:37 +0100

use -e to test if a file exists

Diffstat:
Mtpm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tpm b/tpm @@ -61,7 +61,7 @@ show() { abort "USAGE: tpm show ENTRY" fi - if [ ! -f "${entry_path}" ]; then + if [ ! -e "${entry_path}" ]; then abort "The requested entry doesn't exist." fi