Browse Source

init/functions: fix DispVM detection

Amber M. Breslau 4 years ago
parent
commit
be9155ef11
1 changed files with 1 additions and 1 deletions
  1. 1 1
      init/functions

+ 1 - 1
init/functions

@@ -66,7 +66,7 @@ is_templatevm() {
 }
 
 is_dispvm() {
-    [ "$(qubes_vm_type)" = "DisposableVM" ]
+    [ "$(qubesdb-read /type)" = "DispVM" ]
 }
 
 is_fully_persistent() {