From 32d231e75babd04a8f632171159081cdabe4228a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 30 Oct 2017 11:33:50 -0200 Subject: Check for display at qrpaste --- qrpaste | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qrpaste') 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 -- cgit v1.2.3