Commit 3551c4b7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query: fix query file output (fix --short support)

parent 22b83e66
......@@ -50,7 +50,11 @@ __do_query_real_file()
# get value of symbolic link
if [ -L "$TOFILE" ] ; then
local LINKTO
__do_query "$TOFILE"
if [ -n "$short" ] ; then
__do_short_query "$TOFILE"
else
__do_query "$TOFILE"
fi
LINKTO=$(readlink -f -- "$TOFILE")
info "Note: $TOFILE is link to $LINKTO"
__do_query_real_file "$LINKTO"
......
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