Fix append error
This commit is contained in:
parent
d1387d93b5
commit
aeea87c0a4
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ function displayYesNo {
|
||||||
}
|
}
|
||||||
function displayCmd {
|
function displayCmd {
|
||||||
echo -e "- Running $(styleColor "green")$2$(styleColorRst)..."
|
echo -e "- Running $(styleColor "green")$2$(styleColorRst)..."
|
||||||
$1 2> /tmp/objnull-dotfile-installer.log
|
$1 2>> /tmp/objnull-dotfile-installer.log
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -e "\t---$(styleColor "red")Previous command failed!$(styleColorRst)---"
|
echo -e "\t---$(styleColor "red")Previous command failed!$(styleColorRst)---"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue