Commit 9a4fac18 authored by Koen Punt's avatar Koen Punt
Browse files

fixed incorrect if/else

parent 8d60a0c8
...@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0 ...@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0
_cap_task_cache_file='.cap_task_cache' _cap_task_cache_file='.cap_task_cache'
_cap_get_task_list () { _cap_get_task_list () {
if [ ${_cap_show_undescribed_tasks} -eq 0 ] if [ ${_cap_show_undescribed_tasks} -eq 0 ]; then
cap -T | grep '^cap' | cut -d " " -f 2 cap -T | grep '^cap' | cut -d " " -f 2
else else
cap -vT | grep '^cap' | cut -d " " -f 2 cap -vT | grep '^cap' | cut -d " " -f 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment