Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Dec 1, 2015
1 parent e042b67 commit 0f1f6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/uwt.d/30_uwt_default.conf
Expand Up @@ -57,7 +57,7 @@ settings_detection() {
qubes_vm_type="$(qubesdb-read /qubes-vm-type)"
if [ "$qubes_vm_type" = "TemplateVM" ] || [ -f "/usr/share/anon-ws-base-files/workstation" ]; then
## 'qubesdb-read /qubes-gateway' could fail if NetVM is set to 'none'.
GATEWAY_IP="$(qubesdb-read /qubes-gateway 2>/dev/null)" || { GATEWAY_IP_error="qubesdb_read_failed"; GATEWAY_IP="127.0.0.1"; };
GATEWAY_IP="$(qubesdb-read /qubes-gateway 2>/dev/null)" || { GATEWAY_IP_ERROR="qubesdb_read_failed"; GATEWAY_IP="127.0.0.1"; };
return 0
fi
fi
Expand Down

0 comments on commit 0f1f6c9

Please sign in to comment.