From 3be54edf0af8e52e9c70a1869abaed2f68ee88c5 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 26 Jun 2024 11:22:04 +0200 Subject: fix(osurl): use setsid instead of exec There is just no reason to keep the process around, just let it die. --- osurl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osurl') diff --git a/osurl b/osurl index 7dfd512..ec34474 100755 --- a/osurl +++ b/osurl @@ -61,4 +61,4 @@ STR="$(echo "$STR" | sed -E -e 's@cve[#-]([0-9-]+)@https://cve.mitre.org/cgi-bin OPEN_UTIL="xdg-open" type flatpak-xdg-open >/dev/null 2>/dev/null && OPEN_UTIL="flatpak-xdg-open" -exec $OPEN_UTIL "$STR" +setsid $OPEN_UTIL "$STR" -- cgit