From 0902be7aec7f0f871a3c40a9e4f1c1bb407d0932 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 13 Sep 1999 15:59:15 +0000 Subject: get rid of which output --- prefdm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prefdm') diff --git a/prefdm b/prefdm index 0b2d8582..c14e4db5 100755 --- a/prefdm +++ b/prefdm @@ -22,7 +22,7 @@ if [ -z "$preferred" ]; then preferred=xdm fi fi -if [ -n "$preferred" ] && which $preferred ; then +if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then exec `which $preferred` $* fi exit 1 -- cgit v1.2.1