From e06284ca507c102b495d4ad7ae3afcbcfb7fa3a7 Mon Sep 17 00:00:00 2001 From: ange Date: Sat, 25 May 2024 17:23:01 +0200 Subject: [PATCH] fix: su pwd --- modules/base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base.sh b/modules/base.sh index 0915b17..5b7e241 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/ su "$username" -c "bash -x '/$i'" + arch-chroot /mnt/ su - "$username" -c "bash -x '/$i'" done )