From b600485e89694a49c657216d1ce9532cbe488901 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 16 May 2018 11:15:28 +0200 Subject: bin/desktop-autoloader: Fix regexp that checks expectable value for DISPLAY env var. --- bin/desktop-autoloader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/desktop-autoloader b/bin/desktop-autoloader index f39b9be..305bb98 100755 --- a/bin/desktop-autoloader +++ b/bin/desktop-autoloader @@ -59,7 +59,7 @@ fi ### ### input sanitizing... ### -if ! echo "${AUTOLOAD_DISPLAY}" | grep -qE "^.*:[0-9]+(|\.[0-9]+)"; then +if ! echo "${AUTOLOAD_DISPLAY}" | grep -qE '^.*:[0-9]+(|\.[0-9]+)$'; then echo "Inappropriate setting for \$AUTOLOAD_DISPLAY variable: ${AUTOLOAD_DISPLAY}" exit 1 fi -- cgit v1.2.3