aboutsummaryrefslogtreecommitdiff
path: root/qrpaste
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-30 11:33:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-30 11:33:50 -0200
commit32d231e75babd04a8f632171159081cdabe4228a (patch)
treeb8cbfdb03ae915d6267918c0a5d54cb3ca9edef7 /qrpaste
parent0f21297e76225918aec45d2874ea319d502e5124 (diff)
downloadutils-x11-32d231e75babd04a8f632171159081cdabe4228a.tar.gz
utils-x11-32d231e75babd04a8f632171159081cdabe4228a.tar.bz2
Check for display at qrpaste
Diffstat (limited to 'qrpaste')
-rwxr-xr-xqrpaste3
1 files changed, 3 insertions, 0 deletions
diff --git a/qrpaste b/qrpaste
index 6728adf..f853941 100755
--- a/qrpaste
+++ b/qrpaste
@@ -15,6 +15,9 @@ if ! which qrencode &> /dev/null; then
elif ! which xclip &> /dev/null; then
echo "$BASENAME: xclip not found"
exit 1
+elif ! which display &> /dev/null; then
+ echo "$BASENAME: display not found"
+ exit 1
fi
# Run