提交 9a4fac18 编写于 作者: K Koen Punt

fixed incorrect if/else

上级 8d60a0c8
......@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0
_cap_task_cache_file='.cap_task_cache'
_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
else
cap -vT | grep '^cap' | cut -d " " -f 2
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册