commit 048c0bb4640fb799e02db0e8f8a95425f193ac88 parent e25dcecb9195cfd9302e7b298b4d168938c1ad66 Author: Takayuki Hirota <thirota73@gmail.com> Date: Thu, 23 Jan 2014 23:58:40 +0900 fix misreading config file Diffstat:
M | ansiweather | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ansiweather b/ansiweather @@ -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" ]