spm

Personal fork of spm (simple password manager)

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
1 file changed, 1 insertion(+), 1 deletion(-)
M
tpm
|
2
+-
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