Commit e9f956c2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-query_file: fix read link

parent ee7c3fa0
......@@ -37,7 +37,7 @@ __do_query_real_file()
if [ -L "$TOFILE" ] ; then
local LINKTO
__do_query "$TOFILE"
LINKTO=$(readlink "$TOFILE")
LINKTO=$(readlink -f "$TOFILE")
info "Note: $TOFILE is link to $LINKTO"
__do_query_real_file "$LINKTO"
return
......
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