aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-16 11:15:28 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-16 11:15:28 +0200
commitb600485e89694a49c657216d1ce9532cbe488901 (patch)
tree02d960fd005e9d9491d36ecf9f9ff9e56afb9ac8
parent83f2633edc7c0bdf7c5b1deaad8ba44e1208d285 (diff)
downloaddesktop-autoloader-b600485e89694a49c657216d1ce9532cbe488901.zip
desktop-autoloader-b600485e89694a49c657216d1ce9532cbe488901.tar.gz
desktop-autoloader-b600485e89694a49c657216d1ce9532cbe488901.tar.bz2
bin/desktop-autoloader: Fix regexp that checks expectable value for DISPLAY env var.
-rwxr-xr-xbin/desktop-autoloader2
1 files changed, 1 insertions, 1 deletions
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