1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-14 09:11:31 +01:00

Trying things

This commit is contained in:
2017-02-12 23:40:26 +01:00
parent def2a7cbe5
commit 65459c3aa2

View File

@@ -13,7 +13,7 @@ function comm {
# First complete the command, if necessary
if [[ $3 == "chroot" ]];then
command="chroot /mnt /bin/bash -c \"$4\""
else if [[ $3 == "chuser" ]];then
elif [[ $3 == "chuser" ]];then
command="chroot /mnt /bin/bash -c \"su $nameuser -c \"$4\" \" "
fi