mirror of
https://github.com/gaschz/qubes-pass.git
synced 2025-06-07 01:38:31 +02:00
Fix /rw/config reads.
This commit is contained in:
parent
2d4413d3fe
commit
2b518338d3
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user