aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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