summaryrefslogtreecommitdiff
path: root/vibrant/netscape.c
diff options
context:
space:
mode:
Diffstat (limited to 'vibrant/netscape.c')
-rw-r--r--vibrant/netscape.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/vibrant/netscape.c b/vibrant/netscape.c
index 79443d3b..2e9545e1 100644
--- a/vibrant/netscape.c
+++ b/vibrant/netscape.c
@@ -548,9 +548,8 @@ static Boolean NS_LoadNetscape(const char *url)
}
/* ---------- child process ------------ */
- if (execlp("netscape", "netscape", url, NULL) < 0 &&
- execl(NETSCAPE_PATH, NETSCAPE_PATH, url, NULL) < 0) {
- Message(MSG_ERROR, "Failure to open URL in netscape window");
+ if (execlp("sensible-browser", "sensible-browser", url, NULL) < 0) {
+ Message(MSG_ERROR, "Failure to open URL in browser window");
exit(1);
}