update sudo

Signed-off-by: shenmo <jifengshenmo@outlook.com>
This commit is contained in:
shenmo 2024-10-25 05:07:28 +00:00 committed by Gitee
parent 1b29912372
commit 43e1a1599e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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