Skip to content

Commit

Permalink
fix new line before append rather than after
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed May 19, 2016
1 parent 60f1e82 commit 96cd3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/nodes/emonpi_auto_add_nodes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ for var in `seq 2 $max`
do
if ! grep "\[$var\]" $emonhub_location; then
if [ -f $path/$var ]; then
cat $path/$var >> $emonhub_location
echo "">>$emonhub_location
cat $path/$var >> $emonhub_location
echo "Added node $var to emonhub.conf"
fi
else
Expand Down

0 comments on commit 96cd3f2

Please sign in to comment.