mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 09:41:31 +01:00
fixes..
This commit is contained in:
@@ -28,7 +28,7 @@ function comm {
|
||||
|
||||
|
||||
# Check for multisentence command and run
|
||||
if [[ $multiSentence == "0" ]];then
|
||||
if [[ $multic == "0" ]];then
|
||||
echo "[ RUNNING ] $1"
|
||||
fi
|
||||
#Run command and make silent if its needed.
|
||||
@@ -38,14 +38,6 @@ function comm {
|
||||
bash -c "$command"
|
||||
fi
|
||||
|
||||
# Update multiSentence var
|
||||
if [[ $multic == "1" ]];then
|
||||
multiSentence="1"
|
||||
fi
|
||||
if [[ $multic == "2" ]];then
|
||||
multiSentence="0"
|
||||
fi
|
||||
|
||||
# When command finish, know if it ran succesfully
|
||||
if [[ $? != "0" ]];then
|
||||
echo "[ ERROR ] $1"
|
||||
|
||||
Reference in New Issue
Block a user