From 0921ba2a4ca6d1ef0062c715d88917bdea37318c Mon Sep 17 00:00:00 2001 From: ange Date: Sat, 25 May 2024 17:11:33 +0200 Subject: [PATCH] fix: bad sudo, prefer su --- modules/base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base.sh b/modules/base.sh index 7306b15..3ec4a37 100644 --- a/modules/base.sh +++ b/modules/base.sh @@ -12,7 +12,7 @@ cp -r ./modules/chroot/ /mnt/ done for i in ./chroot/user/*.sh; do - arch-chroot /mnt/ sudo -u "$username" bash -x "/$i" + arch-chroot /mnt/ su "$username" -c bash -x "/$i" done )