update sudo

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
2024-10-25 05:07:28 +00:00
committed by Gitee
parent 1b29912372
commit 43e1a1599e

View File

@@ -2,5 +2,5 @@
if [ "$UID" = "0" ];then
/usr/bin/sudo $@
else
host-spawn sudo bookworm-run $@
host-spawn sudo bookworm-run sudo $@
fi