fix open script

This commit is contained in:
thek4n 2025-11-07 13:26:16 +03:00
parent 91e122af50
commit 89b210f663

View File

@ -6,4 +6,5 @@ if [ ! -e "${1}" ]; then
printf 'File %s not found' "${1}" >&2
exit 1
fi
setsid xdg-open "${1}" 1>/dev/null 2>&1
setsid --fork xdg-open "${1}" < /dev/null > /dev/null 2>&1