mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
fixes..
This commit is contained in:
1 parent
ea93691fe6
commit
a7e9fe09bc
1 file changed
+5
-5
@@ -18,17 +18,17 @@ function comm {
|
|||||||
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