Fix /rw/config reads.

This commit is contained in:
Manuel Amador (Rudd-O) 2021-12-23 14:05:33 +00:00
parent 2d4413d3fe
commit 2b518338d3
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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