qrexec: prefer VM-local service file (if present) over default one

This will allow a service to be overridden per-VM.
This commit is contained in:
Marek Marczykowski-Górecki 2015-05-13 23:21:01 +02:00
parent 6c288d0ac2
commit 23a9512402

View File

@ -14,7 +14,7 @@ if ! [ $# = 2 ] ; then
fi fi
export QREXEC_REMOTE_DOMAIN="$2" export QREXEC_REMOTE_DOMAIN="$2"
for CFG_FILE in $QUBES_RPC/"$1" $LOCAL_QUBES_RPC/"$1"; do for CFG_FILE in $LOCAL_QUBES_RPC/"$1" $QUBES_RPC/"$1"; do
if [ -s "$CFG_FILE" ]; then if [ -s "$CFG_FILE" ]; then
break break
fi fi