Przeglądaj źródła

init/functions: fix DispVM detection

Amber M. Breslau 4 lat temu
rodzic
commit
be9155ef11
1 zmienionych plików z 1 dodań i 1 usunięć
  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() {