fix misplaced comment

This commit is contained in:
Marek Marczykowski-Górecki 2017-02-23 03:07:31 +01:00
parent 45709b510a
commit c5a8135fdb
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -290,11 +290,11 @@ case "$command" in
# Commit template changes
domain=$(cat "$HOTPLUG_STORE-domain")
if [ "$domain" ]; then
# Dont stop on errors
if [ -r /var/lib/qubes/qubes-test.xml -a \
"${domain#test-}" != "$domain" ]; then
export QUBES_XML_PATH=/var/lib/qubes/qubes-test.xml
fi
# Dont stop on errors
/usr/bin/qvm-template-commit --offline-mode "$domain" || true
fi
fi