don't assume how to open $BROWSER

just exec it. if user wants nohup they can add it manually.
This commit is contained in:
NRK
2022-02-17 15:16:30 +06:00
parent c1e5c46207
commit b1ff0ad0bd

2
sxbm
View File

@ -161,7 +161,7 @@ bm_open() {
[ "$LINK_NUM" -gt 1 ] && [ -z "$FORCE" ] &&
die "Too many links\nUse '$APPNAME open -f' to force open them all\n\n$LINK"
nohup $BROWSER $LINK 1>/dev/null 2>&1 &
exec $BROWSER $LINK
}
bm_edit() {