mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
Fix bug with sudo command
This commit is contained in:
1 parent
9557226f15
commit
1d66002c1f
2 files changed
+2
-2
No files matched your search
@@ -72,7 +72,7 @@ function pacmanerror {
|
||||
function execl {
|
||||
local command
|
||||
if [[ $1 != "chroot" && $1 != "chuser" ]];then #If it runs normally
|
||||
$1
|
||||
"$*"
|
||||
else #There is a chroot/chuser word and we have to delete it, and then use
|
||||
command=`echo $command | cut -d" " -f2-`
|
||||
if [[ $1 = "chroot" ]];then #If it runs in the chroot
|
||||
|
||||
Reference in new issue
Block a user