Skip to content

Commit

Permalink
fix misreading config file
Browse files Browse the repository at this point in the history
  • Loading branch information
thirota authored and fcambus committed Jan 24, 2014
1 parent e25dcec commit 048c0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansiweather
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function get_config {
ret=""
if [ -f $config_file ]
then
ret=$(grep "^$1" $config_file | awk -F: '{print $2}')
ret=$(grep "^$1:" $config_file | awk -F: '{print $2}')
fi

if [ "X$ret" = "X" ]
Expand Down

0 comments on commit 048c0bb

Please sign in to comment.