From 8b6d11f191a0336a47aea1f13c9af48ac17864e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 28 Jun 2021 15:47:46 +0200 Subject: xtopen: Don't print output of which --- xtopen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xtopen') diff --git a/xtopen b/xtopen index 83bca60..7774377 100755 --- a/xtopen +++ b/xtopen @@ -31,7 +31,7 @@ while getopts kK o; do done shift $((OPTIND-1)) -if ! which "$1" 2>/dev/null; then +if ! which "$1" >/dev/null; then xmessage -default okay -nearmouse \ error: "program $1 not found" exit 1 -- cgit v1.2.3