Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/164'
Browse files Browse the repository at this point in the history
* origin/pr/164:
  Fixed minor error in Qubes Backup
  • Loading branch information
marmarek committed Mar 31, 2019
2 parents ee8bce2 + 8fbf3fd commit 1d68a70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qubesmanager/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ def get_path_from_vm(vm, service_name):
return None
stdout, _stderr = vm.run_service_for_stdio(service_name)

stdout = stdout.strip()

untrusted_path = stdout.decode(encoding='ascii')[:path_max_len]

if not untrusted_path:
Expand Down

0 comments on commit 1d68a70

Please sign in to comment.