spm

Personal fork of spm (simple password manager)
git clone git@getsh.org:spm.git
Log | Files | Refs | README | LICENSE

commit 1268209bd98da1820bdbc3743e9be46219327065
parent b949afa1488043953fb3c8ac61eb6d6b747ab09f
Author: Sören Tempel <soeren+git@soeren-tempel.net>
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