mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-14 17:21:32 +01:00
fixes..
This commit is contained in:
@@ -17,18 +17,18 @@ function comm {
|
|||||||
else
|
else
|
||||||
command=$4
|
command=$4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Make silent if it has to be
|
|
||||||
if [[ $2 != "0" ]];then
|
|
||||||
command="${command} >/dev/null"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Check for multisentence command and run
|
# Check for multisentence command and run
|
||||||
if [[ $multiSentence == "0" ]];then
|
if [[ $multiSentence == "0" ]];then
|
||||||
echo "[ RUNNING ] $1"
|
echo "[ RUNNING ] $1"
|
||||||
fi
|
fi
|
||||||
#Run command. (Command is $4)
|
#Run command and make silent if its needed.
|
||||||
|
if [[ $2 != "0" ]];then
|
||||||
|
bash -c "$command" >/dev/null 1>/dev/null
|
||||||
|
else
|
||||||
bash -c "$command"
|
bash -c "$command"
|
||||||
|
fi
|
||||||
|
|
||||||
# Update multiSentence var
|
# Update multiSentence var
|
||||||
if [[ $5 == "1" ]];then
|
if [[ $5 == "1" ]];then
|
||||||
|
|||||||
Reference in New Issue
Block a user