mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
Trying things
This commit is contained in:
1 parent
def2a7cbe5
commit
65459c3aa2
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user