Bläddra i källkod

init/functions: fix DispVM detection

Amber M. Breslau 4 år sedan
förälder
incheckning
be9155ef11
1 ändrade filer med 1 tillägg och 1 borttagningar
  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() {