]> glassweightruler.freedombox.rocks Git - waydroid.git/commitdiff
Fix logcat command after #996
authorAlessandro Astone <ales.astone@gmail.com>
Mon, 18 Sep 2023 16:25:53 +0000 (18:25 +0200)
committerAlessandro Astone <ales.astone@gmail.com>
Mon, 18 Sep 2023 16:27:35 +0000 (18:27 +0200)
The logcat command does not have the same commandline options as the
shell command, so provide empty defaults to avoid an AttributeError

tools/helpers/lxc.py

index 1c51e0d9d45cf9f3c752c7b80b732154fecd5a59..76cfd7440ec25d91df0eecdcdc2f9a82eee5325a 100644 (file)
@@ -476,4 +476,10 @@ def shell(args):
 
 def logcat(args):
     args.COMMAND = ["/system/bin/logcat"]
+    args.uid = None
+    args.gid = None
+    args.nolsm = None
+    args.allcaps = None
+    args.nocgroup = None
+    args.context = None
     shell(args)