From df4c9f1789deb4f2089b6a480c4b886a94d29291 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 31 Aug 2019 12:27:53 +0200 Subject: [PATCH] scripts/qutebrowser: use exec --- scripts/qutebrowser | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qutebrowser b/scripts/qutebrowser index fa71a5d..8916a5c 100755 --- a/scripts/qutebrowser +++ b/scripts/qutebrowser @@ -7,4 +7,4 @@ sock="$XDG_RUNTIME_DIR/qutebrowser/ipc-$(printf "%s" "$USER" | md5sum | cut -d\ bin=$(env PATH="$(echo "$PATH" | sed "s|$(dirname "$0"):||g")" sh -c 'command -v qutebrowser') fmt='{"args": ["%s"], "target_arg": null, "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' -printf "$fmt" "$url" "$ver" "$proto" "$PWD" | nc -U "$sock" 2>/dev/null || "$bin" "$@" & +printf "$fmt" "$url" "$ver" "$proto" "$PWD" | nc -U "$sock" 2>/dev/null || exec "$bin" "$@" &