Add success message
This commit is contained in:
parent
9e5b6ae17b
commit
93ac25b890
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ function displayCmd {
|
|||
|
||||
if [ $? -ne 0 ]; then
|
||||
echo -e "\t---$(styleColor "red")Previous command failed!$(styleColorRst)---"
|
||||
else
|
||||
echo -e "- $2: $(styleColor "green")Done$(styleColorRst)"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue