mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-03 03:36:29 -04:00
fix: terminate option parsing for qvm commands
This commit is contained in:
parent
99fb13856c
commit
bf0a4bc914
3 changed files with 17 additions and 17 deletions
|
@ -45,10 +45,10 @@ elif command -v qrexec-client >/dev/null; then
|
|||
if test "${authority}" = "@default"; then
|
||||
authority="${default_qube}"
|
||||
fi
|
||||
if ! qvm-check "${authority}" >/dev/null 2>&1; then
|
||||
if ! qvm-check -- "${authority}" >/dev/null 2>&1; then
|
||||
die "Qube doesn't exist: '${authority}'"
|
||||
fi
|
||||
qvm-start --skip-if-running "${authority}"
|
||||
qvm-start --skip-if-running -- "${authority}"
|
||||
exec qrexec-client -tT -d "${authority}" -- "DEFAULT:QUBESRPC ${rpc_cmd} dom0"
|
||||
fi
|
||||
|
||||
|
|
|
@ -72,10 +72,10 @@ elif command -v qrexec-client >/dev/null; then
|
|||
if test "${authority}" = "@default"; then
|
||||
authority="${default_qube}"
|
||||
fi
|
||||
if ! qvm-check "${authority}" >/dev/null 2>&1; then
|
||||
if ! qvm-check -- "${authority}" >/dev/null 2>&1; then
|
||||
die "Qube doesn't exist: '${authority}'"
|
||||
fi
|
||||
qvm-start --skip-if-running "${authority}"
|
||||
qvm-start --skip-if-running -- "${authority}"
|
||||
log "->" qrexec-client -T -d "${authority}" -- "DEFAULT:QUBESRPC ${rpc_cmd} dom0"
|
||||
exec qrexec-client -T -d "${authority}" -- "DEFAULT:QUBESRPC ${rpc_cmd} dom0"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue