sane-open: fix so we can launch read-only files
This commit is contained in:
parent
3c1a74998e
commit
e63e359417
|
@ -76,7 +76,7 @@ open_application() {
|
|||
open_file() {
|
||||
# open the file, and then pass the fd to dbus
|
||||
log "open_file: '$1'"
|
||||
exec 3<> "$1"
|
||||
exec 3< "$1"
|
||||
gdbus call --session --timeout 10 \
|
||||
--dest org.freedesktop.portal.Desktop \
|
||||
--object-path /org/freedesktop/portal/desktop \
|
||||
|
|
Loading…
Reference in New Issue
Block a user