LeastAuthority / leastbot

0 stars 0 forks source link

Running `leastbot > ~/.leastbot/public.conf` has a couple of problems. #23

Open nathan-at-least opened 10 years ago

nathan-at-least commented 10 years ago

. Bash redirection creates an empty file before the left-hand process generates output, so leastbot sees an empty config file and raises an exception.

. leastbot dumps the example file output to stderr, so even this fails: leastbot > /tmp/foo ; mv /tmp/foo ~/.leastbot/public.conf

Fix these usability issues.