Skip to content
Snippets Groups Projects
Verified Commit ea98599c authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

fix(db-functions): Suppress realpath error output

Since it's not clear whether that path actually exists it makes sense to
just drop the output as it is not helpful anyways.

Fixes archlinux/dbscripts#51



Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent cde46716
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ acquire_fd() {
local fd fd_handle
# store the resolved path
handle=$(realpath -- "${handle}")
handle=$(realpath -- "${handle}" 2>/dev/null)
# try to find open fd for handle
for fd in /dev/fd/*; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment