Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

Commit

Permalink
Fixed bug where no output was seen using bash 4
Browse files Browse the repository at this point in the history
  • Loading branch information
rwky committed Jan 10, 2012
1 parent 68acb81 commit 2f17784
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions linode_bash_api
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,19 @@ then
do
if [[ $R == *{* ]]
then
((INDENT++))
INDENT=$INDENT+1
fi

i=0
while ((i<INDENT))
do
echo -n " "
((i++))
echo -n " "
i=$i+1
done
i=0

if [[ $R == *}* ]]
then
((INDENT--))
INDENT=$INDENT-1
fi

echo "$R"
Expand Down

0 comments on commit 2f17784

Please sign in to comment.