Skip to content

Commit 78cab43

Browse files
authored
Merge pull request #6 from codewhitesec/develop
Minor bugfixes
2 parents de76e43 + 0d17237 commit 78cab43

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

qubes-keepass-dom0.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ function main() {
6363
set -e
6464
set -x
6565

66+
qvm-check "${VAULT}"
67+
68+
if [ $? -ne 0 ]; then
69+
echo "[-] Your vault qube ${VAULT} is not running yet."
70+
echo "[-] Aborting to prevent unwanted qube startup."
71+
return
72+
fi
73+
6674
local ID=$(get_id)
6775
local VM=$(get_xprop "${ID}" '_QUBES_VMNAME(STRING)' 'str')
6876
local LABEL=$(get_xprop "${ID}" '_QUBES_LABEL(CARDINAL)' 'int')

qubes-keepass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def load(path: str = None) -> Config:
443443
Config
444444
'''
445445
if path is not None:
446-
config_path = Path(path)
446+
config_file = Path(path)
447447

448448
else:
449449

0 commit comments

Comments
 (0)