pkexec fix

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2023-12-11 08:09:11 +00:00
committed by Gitee
parent 6c853b2bec
commit 0f293864b6

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [ "$UID" = "0" ];then
pkexec $@
$@
else
host-spawn pkexec bookworm-run $@
fi