[PATCH] help: warn if specified 'man.viewer' is unsupported, instead of erroring out

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx>
---
 help.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

	This was suggested by Xavier Maillard.

diff --git a/help.c b/help.c
index 5da8c9c..ecaca77 100644
--- a/help.c
+++ b/help.c
@@ -139,7 +139,7 @@ static int add_man_viewer(const char *value)
 	else if (!strcasecmp(value, "konqueror"))
 		do_add_man_viewer(exec_man_konqueror);
 	else
-		return error("'%s': unsupported man viewer.", value);
+		warning("'%s': unsupported man viewer.", value);
 
 	return 0;
 }
-- 
1.5.4.3.395.g492b.dirty

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux