Эх сурвалжийг харах

init/functions: fix DispVM detection

Amber M. Breslau 4 жил өмнө
parent
commit
be9155ef11
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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() {