From: Silvio Rhatto Date: Mon, 30 Oct 2017 13:33:50 +0000 (-0200) Subject: Check for display at qrpaste X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=32d231e75babd04a8f632171159081cdabe4228a;p=utils-x11.git Check for display at 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