From 6f85fe6f90c3654aa86e406669c56d3da506e412 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 12 Oct 2002 20:07:58 +0000 Subject: [PATCH] * lib/mc.ext.in: Redirect stderr from "links" to suppress a warning if it's not found. --- ChangeLog | 5 +++++ lib/mc.ext.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b21273820..9e1064578 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-10-12 Pavel Roskin + + * lib/mc.ext.in: Redirect stderr from "links" to suppress a + warning if it's not found. + 2002-10-09 Andrew V. Samoilov * doc/mc.1.in (SMB File System): Username is allowed in diff --git a/lib/mc.ext.in b/lib/mc.ext.in index 95410c4d6..7235d8ed8 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -297,8 +297,8 @@ type/^PDF # html regex/\.([Hh]tml?|HTML?)$ - Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) >/dev/null 2>&1; else links %f || lynx -force_html %f; fi - View=%view{ascii} links -dump %f || lynx -dump -force_html %f + Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) >/dev/null 2>&1; else links %f 2>/dev/null || lynx -force_html %f; fi + View=%view{ascii} links -dump %f 2>/dev/null || lynx -dump -force_html %f # StarOffice 5.2 shell/.sdw