Commit 40244408 authored by Michał 'rysiek' Woźniak's avatar Michał 'rysiek' Woźniak
Browse files

getting rid of the error msgs we don't need nor care about

parent 81d46bd2
...@@ -140,13 +140,13 @@ function keyringer_dispatch { ...@@ -140,13 +140,13 @@ function keyringer_dispatch {
# Mac OS X's readlink version does not support '-f' # Mac OS X's readlink version does not support '-f'
# fixing that # fixing that
if readlink -f "$0"; then if readlink -f "$0" >/dev/null 2>&1; then
# great, a regular readlink -f will do! # great, a regular readlink -f will do!
function readlink-f { function readlink-f {
readlink -f "$@" readlink -f "$@"
return $? return $?
} }
elif greadlink -f "$0"; then elif greadlink -f "$0" >/dev/null 2>&1; then
# ah, we have greadlink available, let's use that then. # ah, we have greadlink available, let's use that then.
function readlink-f { function readlink-f {
readlink -f "$@" readlink -f "$@"
......
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