ソースを参照

init/functions: fix DispVM detection

Amber M. Breslau 4 年 前
コミット
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() {