mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #3574: fix XDG silent open in background.
This bug was introduced in 0516ccd325
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
ab0c2afba5
commit
9296f0bd6d
@ -171,7 +171,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}" "${pager}"
|
||||
;;
|
||||
*)
|
||||
|
@ -187,7 +187,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
@ -57,7 +57,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
@ -88,7 +88,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
@ -51,7 +51,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
@ -84,7 +84,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
@ -141,7 +141,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}" "${pager}"
|
||||
;;
|
||||
*)
|
||||
|
@ -43,7 +43,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
@ -46,7 +46,7 @@ view)
|
||||
do_view_action "${filetype}"
|
||||
;;
|
||||
open)
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1 &) || \
|
||||
("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
||||
do_open_action "${filetype}"
|
||||
;;
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user