aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxtopen2
1 files changed, 1 insertions, 1 deletions
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