Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aff0c512ab |
+1
-1
@@ -22,7 +22,7 @@ def use_overlayfs():
|
||||
cfg = configparser.ConfigParser()
|
||||
cfg_file = os.environ.get("WAYDROID_CONFIG", "/var/lib/waydroid/waydroid.cfg")
|
||||
if not os.path.isfile(cfg_file):
|
||||
Logger.error("Cannot locate waydroid config file, reinit wayland and try again!")
|
||||
Logger.error("Cannot locate waydroid config file, reinit waydroid and try again!")
|
||||
sys.exit(1)
|
||||
cfg.read(cfg_file)
|
||||
if "waydroid" not in cfg:
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ def get_image_dir():
|
||||
cfg = configparser.ConfigParser()
|
||||
cfg_file = os.environ.get("WAYDROID_CONFIG", "/var/lib/waydroid/waydroid.cfg")
|
||||
if not os.path.isfile(cfg_file):
|
||||
Logger.error("Cannot locate waydroid config file, reinit wayland and try again!")
|
||||
Logger.error("Cannot locate waydroid config file, reinit waydroid and try again!")
|
||||
sys.exit(1)
|
||||
cfg.read(cfg_file)
|
||||
if "waydroid" not in cfg:
|
||||
|
||||
Reference in New Issue
Block a user