From 2b518338d3875c817238cd34a8a89a04827fcd64 Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Thu, 23 Dec 2021 14:05:33 +0000 Subject: [PATCH] Fix /rw/config reads. --- bin/qvm-pass | 3 +-- qubes-pass.spec | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/qvm-pass b/bin/qvm-pass index b44a843..bcbe6a7 100755 --- a/bin/qvm-pass +++ b/bin/qvm-pass @@ -337,7 +337,6 @@ if not "--help" in arguments and not "-h" in arguments and not "-?" in arguments ): global_opts.arguments = ["show"] + global_opts.arguments arguments = global_opts.arguments -global_opts opts = parser_for_subcommands.parse_args(arguments) @@ -347,7 +346,7 @@ if not global_opts.dest_vm: global_opts.dest_vm = domain.readlines()[0].strip() except FileNotFoundError: pass - if not opts.dest_vm: + if not global_opts.dest_vm: usage( "error: the QUBES_PASS_DOMAIN variable is not defined." " Either create /rw/config/pass-split-domain with the VM containing" diff --git a/qubes-pass.spec b/qubes-pass.spec index aed59f2..5c5d308 100644 --- a/qubes-pass.spec +++ b/qubes-pass.spec @@ -3,7 +3,7 @@ %define mybuildnumber %{?build_number}%{?!build_number:1} Name: qubes-pass -Version: 0.0.27 +Version: 0.0.28 Release: %{mybuildnumber}%{?dist} Summary: Inter-VM pass password management for Qubes OS AppVMs and StandaloneVMs BuildArch: noarch