effort: fix active days always 1

Introduced in cdb773c06 (Fix error on FreeBSD with process substitution)
when trying to squash a bug.
This fix should be valid for that bug as well.
This commit is contained in:
Nicolai Skogheim 2015-08-08 02:44:55 +02:00
parent 2113e8c1d7
commit 7de280f12f

View file

@ -35,7 +35,7 @@ show_cursor_and_cleanup() {
#
active_days() {
uniq <<<$(echo "$1") | wc -l
echo "$1" | uniq | wc -l
}
#